Guild icon
Quill OS
Quill OS / quill
Avatar
i dont really know where to talk about it
8:09 PM
why dont you change this to make the slider bigger? Propably I don't understand something
Avatar
I don't really know Will be something to improve for 2.0 if possible
Avatar
can I tare apart idle_sleep to the service file + idle_sleep.sh? i tryied to add some features and it drives me crazy, nothing works in this file
11:14 PM
propably becouse of the weird shell thats in there
Avatar
No, keep it in the service
11:17 PM
It should be using bash
11:17 PM
More recent service I've made aren't using separate scripts
Avatar
It should, but nothing works😫
Avatar
what's your script?
Avatar
I will sens it later
Avatar
something like this
4:48 PM
it doesn't even create /tmp/ssh_session
4:48 PM
idk...
4:50 PM
actually it does
4:50 PM
yestarday it didn't
Avatar
how to check if the poweroff sequence started?
Avatar
poweroff sequence? You mean when it shuts down?
5:33 PM
i want to fix a bug
Avatar
I haven't created a way to know this, but you can see /sbin/poweroff and /sbin/prepare_shutdown
5:34 PM
maybe /tmp/power_off_started with true in it?
5:40 PM
why does /etc/ssh/sshd_config not save beetwen boots?
5:47 PM
weird that service restart doesn't work, i need to reboot to apply changes
Avatar
Avatar
Szybet
why does /etc/ssh/sshd_config not save beetwen boots?
its not there in git
6:09 PM
w e i r d
Avatar
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
9:42 PM
It's complicated
Avatar
The kernel build in inkbox is complicated
Avatar
What do you want It is what it is
Avatar
Avatar
tux-linux
What do you want It is what it is
me nothing, complicated doesn't mean bad
👍 1
Avatar
Avatar
tux-linux
It's complicated
But I can add your SSH config for SFTP, shouldn't be a problem
9:46 PM
What was it again?
Avatar
I will test it more and then give a pull request
👍 1
Avatar
Why did you move sleep_standby and wake_standby stop commands into poweroff and reboot files?
Avatar
i clicked reboot but idle_sleep triggered when the brightness was going down, so it went sleep. it will now shut those services faster and prevent that
👍 1
10:24 PM
a rare bug, but still possible
10:25 PM
+ the power button will not react when going to reboot
👍 1
Avatar
Will you accept my pull request?
7:37 PM
👀
Avatar
Avatar
Szybet
I will test it more and then give a pull request
Did you not plan to do that?
Avatar
Thats about sshfs
Avatar
Avatar
Szybet
Will you accept my pull request?
Im talking Here about sleeping fixes
Avatar
ok, I'll test them before
Avatar
i tested them and it works, but sure
Avatar
Did you test with Wi-Fi reconnection, interrupt while reconnecting and all that mess?
Avatar
not really, but i have been using it and didn't saw a problem doing various things
Avatar
Avatar
Szybet
i clicked reboot but idle_sleep triggered when the brightness was going down, so it went sleep. it will now shut those services faster and prevent that
It waits 15s before actually going to sleep So it would have had the time to power off (edited)
Avatar
well, still the sleeping screen appears and then it goes poweroff
Avatar
Every time?
Avatar
i said its rare
5:38 PM
but still
Avatar
maybe move the poweroff fbink command near the end
5:39 PM
or execute it 2 times
5:39 PM
there are many fixes for this
Avatar
rm /dev/fb0
5:39 PM
That works too
Avatar
oh, for example
5:39 PM
do it as you want
Avatar
Might be better I'll see
8:38 PM
is this normal?
8:38 PM
its usb storage
Avatar
Yes
8:39 PM
It's individual settings for each book
8:39 PM
Each folder name is the sha256sum of one of the books you opened
8:51 PM
8:51 PM
why
Avatar
Epub is not following the standards I guess
Avatar
i just exported an odt from libreoffice to epub
8:54 PM
:/
Avatar
I thought that the problem with 1 of 0 pages was fixed
9:09 PM
well it isin't
10:08 PM
And what happened now...
Avatar
Reboot
Avatar
i looked up, some books dissapered, after canceling the file chooser this again happened
10:13 PM
and a folder A-Page-Number appered
10:15 PM
1 Reboot 2 file chooser 3 cancel 4 again this guy appears
10:15 PM
i cant really use the e-reader now👀
10:19 PM
UMS is read only
10:19 PM
wtf
Avatar
Avatar
Szybet
UMS is read only
Not my fault
Avatar
Avatar
Szybet
i looked up, some books dissapered, after canceling the file chooser this again happened
I know I tried to solve this problem but I didn't find a solution
10:25 PM
It goes away when you enable global reading settings
Avatar
It would be funny if the SD card inside turned read only
Avatar
Avatar
tux-linux
I know I tried to solve this problem but I didn't find a solution
there is something really bad in your code happening
Avatar
I know what it is I put the necessary fix But it doesn't work
Avatar
do some checks if your fix actually worked?
10:30 PM
the usb storage i will need to debug later. scp worked
10:31 PM
why the QT file chooser doesn't like characters like ł ż ś ć... propably font issue?
Avatar
Maybe
Avatar
i hope i will learn qt faster and help
👍 1
10:33 PM
for now the experience learning it was something like that:
Avatar
Clicking the file chooser and switching pdfs turned off the brightness, and restored it after cancel button
11:21 PM
Do you have a bug list? I think there are too many small problems to use github for it (edited)
Avatar
Avatar
tux-linux
It goes away when you enable global reading settings
It appears not so often, but still
Avatar
Avatar
Szybet
Do you have a bug list? I think there are too many small problems to use github for it (edited)
Use GitHub, document the issues well, with detailed information, and I'll close them when they get solved. I could host a "bugzilla", but then I'd have to disable GitHub issues, which I don't really want to.
Avatar
@tux-linux Can i get permissions to assign labbels on github?, you wouldn't need to do that
Avatar
and im just archiving those issues for later
Avatar
Uhm, I need to provide you write access to the whole repository
Avatar
well, your decision
Avatar
they are triggered by the same issue so, yes
Avatar
#24, what are you talking about?
Avatar
1 zoom in x times 2 switch page 3 the page isin't zoomed, but the slider is on position x (edited)
11:05 PM
Is that on purpuse? 1 switch system wide night mode to on 2 go to book 3 its white, i need to click the moon button
11:06 PM
because maybe you read some book only at night and don't want the rest of your theme settings to be affected
Avatar
true, but on the other hand it will burn someones eyes at 1 am😆
Avatar
depends on which way you see it
Avatar
Avatar
Szybet
1 zoom in x times 2 switch page 3 the page isin't zoomed, but the slider is on position x (edited)
fixed
Avatar
That was fast
👍 1
11:35 PM
Is more fast flickering in dark mode normal?
11:35 PM
eink i don't have control over that
Avatar
Avatar
tux-linux
eink i don't have control over that
In Qt, yes
Avatar
dark mode is not handled by qt
11:46 PM
white-on-black mode for Kobo ebook readers. Contribute to gtalusan/kobo-nightmode development by creating an account on GitHub.
Avatar
It doesnt support kobo nia
11:54 PM
But if you say more flickering is normal for it, then okay
Avatar
Well it is on my devices
Avatar
Avatar
Szybet
It doesnt support kobo nia
It probably just hasn't been updated
1:34 PM
😆
1:35 PM
And this:
1:36 PM
1:36 PM
Why? I cant repair this, reboots, shutdowns nothing
1:36 PM
The screen is... Shifted?
1:38 PM
1:39 PM
Here its ok, but too much space to the corner
Avatar
Avatar
Szybet
The screen is... Shifted?
The weird characters are taking up more space than they should I set a threshold for that but it seems weird characters bypass it Solution: open some new books with shorter file names
Avatar
Avatar
Szybet
Click to see attachment 🖼️
This should never happen
Avatar
Avatar
tux-linux
The weird characters are taking up more space than they should I set a threshold for that but it seems weird characters bypass it Solution: open some new books with shorter file names
Bruh...
Avatar
Avatar
tux-linux
This should never happen
Never is now
Avatar
Avatar
Szybet
Bruh...
Anyways, it doesn't restrict usability
Avatar
Avatar
Szybet
Never is now
But is it really a problem
3:58 PM
Maybe you didn't get the update when I fixed that
Avatar
I fixed a lot of issues
Avatar
You can create a GUI bundle and i will check them
8:40 AM
It would be nice if you assign a"to check" label to the fixed issues on github
8:40 AM
Rootfs needs to be updated to?
8:40 AM
And what is the difference between GUI bundles, why are they device specific
Avatar
Avatar
Szybet
It would be nice if you assign a"to check" label to the fixed issues on github
I check them
Avatar
Avatar
Szybet
And what is the difference between GUI bundles, why are they device specific
Digital signatures
11:17 AM
I'll make it sometime in the morning if I have time
Avatar
Avatar
Szybet
Rootfs needs to be updated to?
Yeah
Avatar
There is something wrong with inkbox GUI service
12:30 PM
I checked, ps doesn't showed inkbox process, maybe it crashed but the service did't restarted itself
12:30 PM
After restarting inkbox gui everything works fine
12:31 PM
The service didn't crashed when the process did, it was still 'started'
Avatar
+ why there is python 3.9.2
Avatar
Avatar
tux-linux
Digital signatures
Other for every device? Why?
Avatar
Avatar
Szybet
+ why there is python 3.9.2
text file parsing
Avatar
Avatar
Szybet
The service didn't crashed when the process did, it was still 'started'
yeah sure, it's normal
1:44 PM
every other service that has something to do stops it before if needed
Avatar
Avatar
tux-linux
text file parsing
Just no...
Avatar
i know that was the first thing I implemented march 2021 i was dumb in qt
1:46 PM
If you want to develop a better parsing engine, you're welcome
Avatar
Avatar
tux-linux
yeah sure, it's normal
No? The service could restart itself to avoid freezing the entire device and rebooting
Avatar
Avatar
tux-linux
If you want to develop a better parsing engine, you're welcome
I want many things to develop, for now I don't have much time
Avatar
Well, yes, but this leads to problems e.g. if you start xorg, you stop inkbox_gui and it must not be started
Avatar
This needs to be resolved in some way
1:48 PM
Another service that checks xorg and inkbox?
Avatar
I will develop something like sickel for 2.0
1:49 PM
or maybe just add a while loop in /usr/bin/inkbox.sh that restarts inkbox-bin if the exit code is not 0
Avatar
That's a option too
Avatar
that would actually be really easy
1:54 PM
Can you test your rootfs PR one more time in all possible usecases and tell me if it's working properly? Then, I will merge it
Avatar
I have been testing it for several days and no problems appeared
1:56 PM
There isn't much to break
Avatar
For long time when trying to click the slider the word search something appeared, now I wanted to save some words, clicked a word and slided my finger below, the whole GUI freezed for good (edited)
2:24 PM
Irony
Avatar
Avatar
tux-linux
Can you test your rootfs PR one more time in all possible usecases and tell me if it's working properly? Then, I will merge it
tested, everything is fine
Avatar
Now i see that cpu governor is not managed. i can add this, you should focus on qt side but i need to know which cpufreq governor to set. default is ondemand, for sleeping it should be powersave, i will add this. But in my experience interactive mode is better than ondemand. @tux-linux you decide and i will add it
Avatar
Avatar
Szybet
Now i see that cpu governor is not managed. i can add this, you should focus on qt side but i need to know which cpufreq governor to set. default is ondemand, for sleeping it should be powersave, i will add this. But in my experience interactive mode is better than ondemand. @tux-linux you decide and i will add it
I guess that's a good idea
Avatar
So interactive mode?
Avatar
Well, first we need to know if if works well; IIRC, there were some issues on other devices about cpugovernor, would need @NiLuJe insight on this
9:40 PM
That's probably the reason why going to sleep would take more battery than Nickel
Avatar
i changed to powersave and the device was slower (edited)
Avatar
Avatar
Szybet
Will you accept my pull request?
done
Avatar
Hi everyone, I'm searching information about flashing inkbox into Kobo Libra H2O
8:00 PM
if someone had some information
Avatar
I think its not done yet, the porting to it
9:05 PM
look at #porting at Kobo libra H20 tread
Avatar
Avatar
tux-linux
Well, first we need to know if if works well; IIRC, there were some issues on other devices about cpugovernor, would need @NiLuJe insight on this
Use interactive on devices that have it. i'ts tuned like ass, but it's better than the rest, and you can't tune it any better anyway since there's no matching support in the input driver (and it's also old)
1:10 AM
On older devices (those w/ dvfs), a tuned conservative can work somewhat decently, c.f., KOReader's startup script
1:10 AM
my TL;DR would be: don't bother, and keep the defaults. (I'm assuming boot defaults are nickel defaults, though. This may not actually hold). (edited)
1:10 AM
it's not going do any miracles, but it will ruin UI latency very easily (edited)
1:10 AM
Bad trade 😉
👍 1
Avatar
Where is the part in the source code when he prints on the screen "Inkbox ebook reader"?
Avatar
It's a compiled file at /etc/init.d/splash.d/init_show. I lost the source code, but it was one of my first programs for Kobos and InkBox was originally going to be written in C with only FBInk as the library. I realized that it was almost impossible to do, so I decided to go the Qt way. The files in this directory are the remnants of what InkBox would have been with FBInk. You can try /etc/init.d/splash.d/init to get a glimpse of how it would have looked.
Avatar
so i cant look at it and repair the cutted e in half
10:33 PM
well, i will write it in the future
Avatar
Avatar
Szybet
so i cant look at it and repair the cutted e in half
Uh?
Avatar
Avatar
Szybet
well, i will write it in the future
You can just script it, probably
Avatar
Avatar
tux-linux
Uh?
i showed it to you one time
Avatar
Copyright (C) 2021-2022 Nicolas Mailloux <nicolecrivain@gmail.co> you have eaten the com`
Avatar
if i change this file, do i need to compile the kernel to apply it?
11:47 PM
oh i need to provide the book here: https://github.com/Kobo-InkBox/inkbox/issues/25
11:47 PM
i will send it tommorow
Avatar
Avatar
Szybet
Copyright (C) 2021-2022 Nicolas Mailloux <nicolecrivain@gmail.co> you have eaten the com`
Where? I did not
12:23 AM
Avatar
Avatar
Szybet
if i change this file, do i need to compile the kernel to apply it?
of course
Avatar
Avatar
tux-linux
Where? I did not
When bootong kernel
Avatar
Avatar
tux-linux
of course
Then why it doesnt applied for me...
Avatar
Avatar
Szybet
When bootong kernel
are you using minicom?
Avatar
Yes, but there was > at the end
Avatar
yeah, minicom cuts end of lines and does not print the rest of them
6:34 AM
try with picocom/microcom
Avatar
2048 works great, but maybe showing the score at game over screen could be nice
Avatar
Reversi needs a bigger game button and removing the player name edits
Avatar
Setting up the timezone with GUI ... It is possible but using the slider is not easy at start, it's not intuitive to use. Also setting the time after applying timezone... Maybe without a reboot?
Avatar
After changing pages it always shows "you have reached the end"
10:06 AM
After this the page goes blank, the text disappears
10:06 AM
Completely not usable
10:08 AM
This was with global settings enabled,
10:12 AM
After I disabled it... Some of my books dissapered, in the file chooser appeared config directories, enabling global settings back freezed the device
10:16 AM
What the hell... What is global reading settings, it's so buggy and problematic
Avatar
Epubs are not showing correctly, sometimes only 5 lines, no images
11:33 AM
Pdfs are fine
Avatar
Avatar
Szybet
After I disabled it... Some of my books dissapered, in the file chooser appeared config directories, enabling global settings back freezed the device
Maybe updating the GUI bundle caused this all?
11:40 AM
Maybe create a bug channel o discord, i dont know if its Worth it reporting those issues on github
Avatar
How resseting the device caused error code 5
11:57 AM
🤨
Avatar
Avatar
Szybet
Setting up the timezone with GUI ... It is possible but using the slider is not easy at start, it's not intuitive to use. Also setting the time after applying timezone... Maybe without a reboot?
It should work right away
Avatar
Avatar
Szybet
How resseting the device caused error code 5
No recoveryfs yet
Avatar
Avatar
Szybet
Setting up the timezone with GUI ... It is possible but using the slider is not easy at start, it's not intuitive to use. Also setting the time after applying timezone... Maybe without a reboot?
You can drag your finger on the list, up and down, and it will scroll
Avatar
Avatar
Szybet
What the hell... What is global reading settings, it's so buggy and problematic
Well, normally it's something you enable/disable once and you leave there afterwards, so that was not part of my testing. Also, please don't be so harsh (edited)
Avatar
Avatar
Szybet
Maybe updating the GUI bundle caused this all?
If the update finished successfully, no
Avatar
Avatar
Szybet
After I disabled it... Some of my books dissapered, in the file chooser appeared config directories, enabling global settings back freezed the device
Clean your onboard storage mkfs.vfat /data/storage/onboard (edited)
12:46 PM
At this point, with you mangling between Nickel and InkBox on the same SD card, it might just be corruption due to flash wear
Avatar
Avatar
tux-linux
You can drag your finger on the list, up and down, and it will scroll
I needed a minute to figure it out, not intuitive
Avatar
Avatar
tux-linux
Well, normally it's something you enable/disable once and you leave there afterwards, so that was not part of my testing. Also, please don't be so harsh (edited)
Okay, sorry but its still this was sad
👍 1
1:06 PM
Also, there is no qr code and no sshfs support
1:06 PM
But I compiled a new kernel
1:06 PM
Weirddd
1:11 PM
Maybe with a rooted kernel, if a error code accours telnet over usb could be turned on?
1:11 PM
This should't be hard to implement
Avatar
Avatar
Szybet
Maybe with a rooted kernel, if a error code accours telnet over usb could be turned on?
Yes
Avatar
When you open a book and flip through pages, does it refresh every time? And when you open the options menu, it refreshes when it has to refresh (e.g. each 3 pages)?
3:07 PM
I have this problem on my Kobos and can't find out why at all Even the debug output I wrote makes sense when it is run
Avatar
Avatar
tux-linux
When you open a book and flip through pages, does it refresh every time? And when you open the options menu, it refreshes when it has to refresh (e.g. each 3 pages)?
You mean the whole screen? (edited)
Avatar
Avatar
Szybet
You mean the whole screen? (edited)
That it turns white-black-white?
Avatar
Yeah
Avatar
@tux-linux maybe create a channel #dev too. i have some questions about developing qt for kobo
Avatar
Avatar
tux-linux
When you open a book and flip through pages, does it refresh every time? And when you open the options menu, it refreshes when it has to refresh (e.g. each 3 pages)?
Does it?
7:38 PM
Ok
7:38 PM
Done
Avatar
well for now my kobo is bricked
7:39 PM
i will check... tommorow?
👍 1
Avatar
You should really think of buying another SD card
Avatar
no, the problem is now that i need to open the case
Avatar
Not to worry, I think it affects all of them anyway, so no problem
Avatar
i have to open it, i would really prefer not doing it many times. before I repair it i want to do the telnet thing when it crashes before
👍 1
Avatar
Sure, but actually, when it shows an error with a QR code, it shuts down after. So, maybe not so easy to implement
8:53 PM
Maybe I could get it to start usbnet on reboot if it failed before
Avatar
start telnet wait 3 minutes check if telnet connection is on if not, shutdown its that easy
Avatar
I have a better idea
9:15 PM
The thing first shuts down with the error code and writes to a flag Then it reboots, reads the flag and starts telnet without anything else On the next reboot the flag is unset and the device boot as normal, writes to the flag again if it can't boot and displays an error code
Avatar
your decision
Avatar
Avatar
tux-linux
When you open a book and flip through pages, does it refresh every time? And when you open the options menu, it refreshes when it has to refresh (e.g. each 3 pages)?
I found that the culprit was the setEnabled calls in the next/previous buttons to prevent too fast page turning as you proposed. I assume Qt devs never have eInk in mind, but it triggers a repaint event, which results in the screen flashing. How awesome. @NiLuJe , @sherm_p , @pgaskin , if you have some time, is there a way to prevent an entire screen refresh when I setEnabled() true or false a QPushButton? Otherwise, I think I'll disable those because a screen refresh at each page turn is not a sane way to read a book... (edited)
Avatar
Avatar
Szybet
Click to see attachment 🖼️
You shut down the device via CLI Not the reboot button in InkBox right?
1:02 AM
When you click reboot in InkBox, the program terminates itself, and that prevents this issue
3:29 AM
Will start a telnet+ftp server on USBNet on 192.168.2.2 by default if it reboots from an error splash. The IP can be changed as usual with the USBNET_IP flag.
Avatar
@Szybet BTW, I added a DFL flag, which will export the entire MMC over USB on boot without the need of pressing a key combination.
Avatar
Avatar
tux-linux
It should work right away
Did you update the rootfs along that?
Avatar
Avatar
Szybet
2048 works great, but maybe showing the score at game over screen could be nice
done
4:47 AM
it was painful but hey, it works
Avatar
Avatar
tux-linux
You shut down the device via CLI Not the reboot button in InkBox right?
Idk
Avatar
Avatar
tux-linux
@Szybet BTW, I added a DFL flag, which will export the entire MMC over USB on boot without the need of pressing a key combination.
Nice, do i need to write the boootloader for it?
Avatar
Avatar
tux-linux
Did you update the rootfs along that?
UM no
Avatar
Avatar
tux-linux
it was painful but hey, it works
Qt is painfull
Avatar
Avatar
Szybet
Nice, do i need to write the boootloader for it?
No, it's in the kernel/initrd It uses g_mass_storage
2:40 PM
Basically UMS mode but from Linux
Avatar
So when exactly will it be enabled?
2:57 PM
On boot? So?
Avatar
Yes Try it
Avatar
well im trying it, one moment
7:01 PM
7:01 PM
this is good😆
7:06 PM
I have updated the kernel and the rootfs, but there is still error 5
7:06 PM
i have previously launched reset device without the recovery partititon
Avatar
You need to unset some flags
7:08 PM
DO_FACTORY_RESET or something
7:08 PM
Check boot flags docs
7:08 PM
is it normal that there are no QR codes?
Avatar
We will make the recoveryfs just before the release as it will contain the default system image
Avatar
on the screen
7:09 PM
okay
Avatar
Avatar
Szybet
is it normal that there are no QR codes?
No
7:09 PM
Does it happen all the time?
Avatar
no qr codes at all
Avatar
Never
7:09 PM
?
Avatar
You did update the kernel?
Avatar
i will check if the sshd config writed, if not there is a problem with the sc card and writing to it
Avatar
Avatar
tux-linux
You did update the kernel?
yes
Avatar
It's because the pr hasn't been merged yet
Avatar
but for sshd i edited the files for my own
Avatar
What's the latest commit in your kernel repo?
Avatar
commit 752ca0df22b8bc379d64873d9491ea69d4df2761 (HEAD -> master, origin/master, origin/HEAD) Author: Oliwer <53944559+Szybet@users.noreply.github.com> Date: Mon Mar 28 23:16:41 2022 +0200 sshfs support commit a6582731a1c23e776fd385616e7ac74fb8d70c9a Author: Oliwer <53944559+Szybet@users.noreply.github.com> Date: Mon Mar 28 23:11:04 2022 +0200 small kernel fix commit de78cd8474a9ae14b1a285d0d7396496c68f0c37 Author: Oliwer <53944559+Szybet@users.noreply.github.com> Date: Mon Mar 28 23:06:49 2022 +0200 touchscreen fix commit 0f1ebe0a60e3458d3eb187c8144960d3e08b3c40 (upstream/master) Author: Nicolas Mailloux <nicolecrivain@gmail.com> Date: Tue Mar 29 22:05:28 2022 -0400 Implement boot-time USB debug mode
7:13 PM
its my fork repo, but i merged the changes with upstream
Avatar
You aren't using the right repo
7:13 PM
I pushed new commits
7:14 PM
Clone the repo in another folder
Avatar
what? i have all your commits
Avatar
Or temporarily move this folder
Avatar
Avatar
Szybet
what? i have all your commits
Oh
Avatar
commit 224c0f07157f9089da0b4693d29a4d2e94d6a01c Author: Nicolas Mailloux <nicolecrivain@gmail.com> Date: Sun Mar 27 16:33:49 2022 -0400 inkbox-splash: Display QR code when a boot-time issue happens commit 4ca43ae1f17846f16722db835ffe370638eb9d5a Author: Nicolas Mailloux <nicolecrivain@gmail.com> Date: Sun Mar 27 14:41:39 2022 -0400 Add qr-to-png they are here
Avatar
What are the contents of /etc/init.d/inkbox-splash in initrd? (Access via telnet)
Avatar
what telnet?
7:16 PM
from where
Avatar
Avatar
tux-linux
Yes Try it
IDK nothing appears on my pc
Avatar
Avatar
Szybet
what telnet?
Initrd debug flag
Avatar
Avatar
tux-linux
Initrd debug flag
oh okay, im now in ssh
7:20 PM
so when does the full sd as ums appears? on boot its nothing
Avatar
Does a DFL splash appear?
Avatar
kobo:~# ls /etc/init.d/inkbox-splash ls: /etc/init.d/inkbox-splash: No such file or directory (edited)
Avatar
Avatar
tux-linux
Does a DFL splash appear?
no, it boots to the gui
Avatar
Wrong kernel
Avatar
there is also no sshfs in sshd_config (edited)
Avatar
Contents of /boot/flags/BOOT_USB_DEBUG
Avatar
Avatar
Szybet
kobo:~# ls /etc/init.d/inkbox-splash ls: /etc/init.d/inkbox-splash: No such file or directory (edited)
Yes
Avatar
Avatar
tux-linux
Contents of /boot/flags/BOOT_USB_DEBUG
no file
7:22 PM
the kernel didn't writed...
7:22 PM
why. how
Avatar
And /boot/flags/DFL
Avatar
kobo:~# ls /boot/flags/ USBNET_ENABLE USBNET_IP X11_START X11_STARTED
7:23 PM
the kernel didn't write...
Avatar
You need to set a flag to enable dfl
Avatar
one sec
Avatar
I told you It's in the wiki (edited)
Avatar
Avatar
tux-linux
I told you It's in the wiki (edited)
now i see it
7:24 PM
what if i write both flags?
7:24 PM
will telnet launch or ums?
Avatar
IIRC dfl will take precedence
7:26 PM
Still strange that no QR appears
Avatar
Avatar
tux-linux
Still strange that no QR appears
becouse the kernel didn't update
7:27 PM
its old
Avatar
Ok you're sure of that?
7:27 PM
Then dfl won't work until you update it
7:28 PM
/Recompile it
Avatar
well, if the kernel didn't writed DFL flag will not work too...
Avatar
Avatar
tux-linux
Then dfl won't work until you update it
.
Avatar
the kernel does write
7:47 PM
Linux kobo 4.1.15szybettest #1 SMP PREEMPT Wed Mar 30 19:38:46 CEST 2022 armv7l GNU/Linux
7:47 PM
but no changes to sshd
Avatar
Avatar
tux-linux
What are the contents of /etc/init.d/inkbox-splash in initrd? (Access via telnet)
via telnet hmm...
8:07 PM
it is there, its updated
8:09 PM
or not?
8:09 PM
no print_qr
8:10 PM
BUT IT IS IN THE KERNEL REPO
8:10 PM
whyyyyyy ._.
Avatar
The kernel didn't update
8:23 PM
Idk
Avatar
i have built the kernel with your repo, not it has a bigger size
Avatar
Try from a clean repo
Avatar
i will
8:24 PM
what the hell, git
8:24 PM
:(
8:27 PM
the kernel is already 10M 👀
Avatar
Make device nodes
8:33 PM
now my repo is working
8:33 PM
i hate computer problems that are solved, and i dont know what was wrong
8:35 PM
oh
8:35 PM
your commit dissapered
8:35 PM
8:36 PM
um did i messed this up
Avatar
ImageMagick-7/ fish/ issue network/ rc.conf terminfo/ acpi/ fonts/ lbu/ ntp.conf resolv.conf udev/ alpine-release fstab libnl/ opt/ rsyncd.conf udhcpd.conf apk/ fuse.conf local.d/ os-release runlevels/ usb_modeswitch.conf ca-certificates.conf group localtime pango/ securetty usb_modeswitch.d/ ca-certificates/ group- logrotate.d/ passwd securetty.apk-new usb_modeswitch.setup chrony/ hostname mdev.conf passwd- services vim/ conf.d/ hosts mke2fs.conf periodic/ shadow wgetrc crontabs/ images/ modprobe.d/ pkcs11/ shadow- wpa_supplicant/ dbus-1/ init.d/ modules ppp/ shells dhclient-script inittab modules-load.d/ profile ssh/ dhcp/ inputrc motd profile.d/ ssl/ dhcpcd.conf iproute2/ mtab protocols sysctl.conf e2scrub.conf iptables/ nanorc radiusclient/ sysctl.d/ why are here so many files?...
Avatar
It's the rootfs?...
Avatar
Avatar
Szybet
um did i messed this up
Yes, congrats (edited)
Avatar
Avatar
tux-linux
It's the rootfs?...
in /etc? so many config files?
Avatar
Avatar
tux-linux
Yes, congrats (edited)
how
Avatar
Installed by default
Avatar
Avatar
Szybet
how
I don't know, but my commit disappeared
Avatar
i pushed some changes to my repo
8:57 PM
and it deleted your commit?
Avatar
Avatar
tux-linux
Installed by default
okay, i didn't see them before
Avatar
Why does the sshfs thing dont update
9:07 PM
updating the kernel doesn't affect it
Avatar
Avatar
Szybet
and it deleted your commit?
Yes
Avatar
Avatar
Szybet
Why does the sshfs thing dont update
Contents of config file?
Avatar
Avatar
tux-linux
Yes
why is it like that? i cant update my repo without affecting a old pull request?
Avatar
Avatar
tux-linux
Contents of config file?
Rcs-root
9:15 PM
so the sshd_config file, yes (edited)
9:19 PM
my repo is broken
9:19 PM
simply broken
9:19 PM
and your commit doesn't work
9:20 PM
~ # cat /tmp/sshd_config PermitRootLogin yes\nSubsystem sftp internal-sftp\n# If sshfs doesn't work, first enable read-write support, then begin a connection with sshfs
9:21 PM
maybe leave it as i wanted? its cleaner code, and one echo and 3 won't give a much diffrence in speed
Avatar
No it should work
Avatar
it doesn't
Avatar
What's the contents of rcs root on your device?
Avatar
the part you are interested in is: echo "PermitRootLogin yes\nSubsystem sftp internal-sftp\n# If sshfs doesn't work, first enable read-write support, then begin a connection with sshfs" >> /tmp/sshd_config
Avatar
Oh I forgot -e after echo
Avatar
Is it bind-mounted correctly though?
Avatar
ok, I'll change it
11:17 PM
if i can find out how with your repo
Avatar
idk what happened there
11:18 PM
this forked repo is a mess
Avatar
maybe i can make the changes on my own and credit you in the commit
Avatar
This is alright?
3.54 KB
Avatar
if its the same as in my commits the yes
11:45 PM
maybe you could remove the \n in internal-sftp\n# If sshfs
11:45 PM
but its only what you prefer (edited)
Avatar
i prefer to keep it like that
11:52 PM
will commit now
11:52 PM
thanks
11:56 PM
done
11:56 PM
you can check if it works with a clean git tree
Avatar
tommorow
👍 1
Avatar
Any last minute fix to add to InkBox before releasing 1.9?
Avatar
fonts pls
11:01 PM
Avatar
if you wait to the end of the weekend i will have an pre-release of sanki ready
Avatar
Avatar
Szybet
fonts pls
Aren't there enough?
Avatar
Avatar
Szybet
if you wait to the end of the weekend i will have an pre-release of sanki ready
Pre release won't be in the release
Avatar
i mean, Ż Ź Ó Ą Ę
Avatar
Oh I searched for that, there doesn't seem to be an obvious fix, besides, it seems to happen randomly, sometimes the characters show up properly
Avatar
no, they never
Avatar
They seem to be in the font
11:44 PM
the question is: 1 does the system show them correctly at low level 2 does qt filechooser use these fonts
Avatar
Avatar
Szybet
the question is: 1 does the system show them correctly at low level 2 does qt filechooser use these fonts
1 idk 2 yes
Avatar
maybe its using system fonts, and they don't have those characters
Avatar
no, it's definitely using the U001 font
Avatar
maybe just install some alpine system fonts?
Avatar
what difference would it do
Avatar
idk, this needs more debugging info
8:35 PM
is this really needed?
8:35 PM
sleep 10
Avatar
Yes
Avatar
Because Kernel bug
8:57 PM
Try it without and you'll see
Avatar
well okay
8:58 PM
maybe adding sync before this is needed? plato had similar issues too
Avatar
No it is not related
Avatar
ERROR: font-noto-extra-0_git20170920-r0: No space left on device
6:26 PM
how do i make it bigger :/
Avatar
you used the entire 66M available on the partition?
6:27 PM
well, there is no way
Avatar
Avatar
tux-linux
you used the entire 66M available on the partition?
i have installed powertop... i2c tools... idk what more
Avatar
font-noto-extra is a very big package iirc
Avatar
Avatar
tux-linux
well, there is no way
common
Avatar
well, there is no way
6:30 PM
unless you throw them directly in the compressed archive but that is probably not an ideal solution
Avatar
is it the size of the p3 limiting it?
Avatar
yes
Avatar
and the reasons why i cant expand it are?
Avatar
why do you want to install this package anyway?
Avatar
i want fonts in file chooser to work
6:32 PM
or just test it
Avatar
it won't change if you put them in the rootfs
6:32 PM
Qt fonts dir is /kobo/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib/fonts
Avatar
Avatar
Szybet
and the reasons why i cant expand it are?
60% of existing supported devices have this partition layout and an update to it would require an entire SD reflash
Avatar
for me, for testing purpuses
Avatar
well, you don't need it now because it isn't the place where you should put the fonts
Avatar
Avatar
tux-linux
Qt fonts dir is /kobo/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib/fonts
unsquashfs -d gui-bundle update.isa unsquashfs -d gui-bundle/qt gui-bundle/qt.isa cp <fonts> gui-bundle/qt/lib/fonts pushd gui-bundle/qt && rm ../qt.isa* && mksquashfs . ../qt.isa -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments && popd openssl dgst -sha256 -sign private.pem -out gui-bundle/qt.isa.dgst gui-bundle/qt.isa pushd gui-bundle/ && rm -rf qt/ && rm ../update.isa && mksquashfs . ../update.isa -b 1048576 -comp xz -Xdict-size 100% -always-use-fragments
6:38 PM
maybe you should also remove existing fonts in lib/fonts to give you more luck
Avatar
Avatar
Szybet
for me, for testing purpuses
you can expand it, but it wouldn't do real good to your SD card
Avatar
Avatar
tux-linux
you can expand it, but it wouldn't do real good to your SD card
i know
6:40 PM
do you have something like this?
6:40 PM
6:40 PM
what font do you set
Avatar
yes
6:44 PM
u001
Avatar
weird ;_;
Avatar
this makes no sense
Avatar
what exactly?
Avatar
... you there?
Avatar
um yes
Avatar
Avatar
tux-linux
what exactly?
the font thing, i gived up
Avatar
ok
Avatar
propably writing a replacemant for file chooser would be easier than debugging this
Avatar
yeah
8:36 PM
I updated the gui bundle if you want to have the latest bugfixes/features
8:37 PM
I added special characters when pressing shift in the virtual keyboard
Avatar
nice, i will update it soon
👍 1
Avatar
And it will remove Wi-Fi modules if you click "Cancel" instead of "Connect" in the Wi-Fi dialog
8:40 PM
Would there be other things to do before 1.9 release?
Avatar
scroll bars
Avatar
yeah ok
Avatar
and thats propably it
Avatar
excluding that?
8:41 PM
ok
8:44 PM
I need to style some scrollbars as in the image: After much pain and experimentation, I found how to make the gradient, and hide the arrows. m_scrollBarStyleSheet = "QScrollBar:horizontal { \n " ...
8:45 PM
we were thinking that it was qsliders
8:45 PM
but actually they are qscrollbars
8:46 PM
yuo are using sliders everywhere right?
Avatar
wait there are settings in the stylesheet for the handle of a qscrollbar though i don't know if they actually work
Avatar
Avatar
Szybet
yuo are using sliders everywhere right?
qscrollbars
8:46 PM
except for brightness slider in mainwindow/brightnessdialog (edited)
Avatar
hmm... but maybe doing this would be possible?
8:48 PM
8:48 PM
this would help for... everything exept brightness dialog
Avatar
actually it works
8:49 PM
8:49 PM
the black thing is the scroll bar
Avatar
oh thats good
8:50 PM
it will not look like that, right?
Avatar
no
8:50 PM
i set it to 300px to test it
8:50 PM
8:50 PM
but i wonder how it will look on devices with a smaller screen resolution
Avatar
also for: https://github.com/Kobo-InkBox/inkbox/issues/22 will changing the margin solve the issue?
Avatar
probably too big
8:51 PM
Yes but that would make the home button impossible to click
Avatar
maybe add this to settings? a bit overkill but everyone has diffrent sized fingers
Avatar
Avatar
tux-linux
Yes but that would make the home button impossible to click
which one
Avatar
the one close to the info button
Avatar
change the margin only for the pdf, not the menu
8:52 PM
do this dynamically
8:52 PM
the exit button could be bigger anyway
Avatar
Avatar
Szybet
change the margin only for the pdf, not the menu
the thing is that the pdf is in the main grid layout and the menu too
Avatar
you can't change the margins after showing the layout?
Avatar
the layout encloses menu + graphicsView which contains the PDF page image (edited)
Avatar
i knwo, but change the margins dynamically?
Avatar
it wouldn't work
Avatar
maybe... change the margins lower but add additional margins for the menu
8:55 PM
with a frame for example?
Avatar
i'm not sure I follow you
Avatar
add more margins to this but remove them from "reader"
Avatar
every time i change something in the reader class layout a mess happens
8:59 PM
but maybe I can set a slightly lower margin to give pdfs more space while not stretching the ui too much
Avatar
Avatar
tux-linux
every time i change something in the reader class layout a mess happens
why would this do anything
Avatar
Avatar
tux-linux
but maybe I can set a slightly lower margin to give pdfs more space while not stretching the ui too much
no no no the home button its already too hard to click
Avatar
actually it wasn't a good idea (edited)
Avatar
Avatar
Szybet
why would this do anything
there is no reason it will just do something
Avatar
Avatar
Szybet
add more margins to this but remove them from "reader"
if you understand what im saying, could you try this?
9:02 PM
i hope it will not do something
9:02 PM
and it will work
Avatar
Avatar
tux-linux
actually it wasn't a good idea (edited)
also that's what the margin would look like on the nia a bit too much right?
Avatar
idk, you need to find a solution for all devices
Avatar
Avatar
Szybet
if you understand what im saying, could you try this?
can you do it and send me the .ui file?
Avatar
um okay
9:07 PM
something like this?
Avatar
nope
Avatar
what nope
9:12 PM
what is not working
Avatar
well this is a screenshot
9:13 PM
there are huge margins in the pdf and on top of that the ui is almost going out of the bounds of the screen
Avatar
is there any change?
Avatar
compare with normal screenshot
Avatar
is the pdf still cutted out?
9:14 PM
or less
Avatar
less
9:15 PM
but the ui is unusable
Avatar
than wait
9:15 PM
i will do it more
9:15 PM
i only changed half of it
9:18 PM
9:18 PM
this is a bit too much i think
9:18 PM
but its for testing
9:20 PM
becouse its too near the border?
9:20 PM
and what about the pdf?
Avatar
yes
9:21 PM
seems to be worse
Avatar
? how
Avatar
compare with other screenshots
9:22 PM
wait i took the wrong screenshot
Avatar
why is one margin affecting other objects...
9:22 PM
?
Avatar
is it better or worse
Avatar
better
9:23 PM
well, not the ui
Avatar
and the pdf?
Avatar
better
9:23 PM
but the scrollbars are unusable even if I scale them up it will be ugly
Avatar
why is this even affecting scroll bars?
Avatar
because they are part of QTextEdit and QGraphicsView
Avatar
did the scroll bars get smaller?
Avatar
unrelated I'm playing around with the stylesheet
Avatar
if you want to try more this idea you can go to page_20 and gridLayout_7 to edit the margin even more
👍 1
Avatar
the scrollbars are fine?
9:47 PM
That's on 600x800 devices (edited)
Avatar
Avatar
tux-linux
the scrollbars are fine?
idk, testing is needed
Avatar
ok, even more bugfixes I updated the GUI bundle again
11:09 PM
Increased scrollbar size by 5px but it's all I can do for now It seems it will be a complete mess to change all of this
Avatar
Goal of the day: get scrollbars working then freeze commits for 1.9 release and start working on factory images and update packages
Avatar
Ale factory images available with root kernel? ( security not enforced )
Avatar
Nope
2:47 PM
It is fairly easy to root one though
2:48 PM
The official version being that you get in the recoveryfs and you reset as root
2:51 PM
Yesterday I started to design a way to create reproducible image builds, but I gave up, maybe I'll have some success today
Avatar
You need to make a script for this, its too much work by hand
Avatar
does inkbox support rotating?
Avatar
No and it will not Too complicated
Avatar
i dont think so, but maybe only 180 degrees?
9:48 PM
180* degrees?
Avatar
Idk
Avatar
does only the kobo nia use the hal sensor for sleep? only it uses the F1 number?
Avatar
I think all devices do use KEY_F1
Avatar
There's now a logger active when the DEBUG=1 env var is set. Will make it easier to debug in the future...
Avatar
Finally
Avatar
Well, I'll need to put log calls in the app, but the base is there
Avatar
I *think* I'm going to freeze the current commits for 1.9 release
Avatar
Awesome, wake on touch also affects the Glo
10:40 PM
I'm desperate
10:40 PM
Whenever I want to release something a thousand of painful bugs appear
Avatar
Its fixable
Avatar
I want to believe you but I can't
Avatar
We will see
Avatar
https://discord.com/channels/809205711778480158/943711473341960253/952640370867585045 @NiLuJe : I got as close as this and it worked (so, probably not kernel-related, as you said; the Nia is a strange exception) Only because I was running it from a shell (and it executes the exact same commands as if it had been launched by OpenRC). Is there a common name for this problem? Nonsense™? (edited)
Avatar
This was discussed in #chat
Avatar
And i dont understand this part here
11:11 PM
How do i save words?
Avatar
Double click the word and click on the star
11:11 PM
(when you're reading)
Avatar
Then its not working
Avatar
Why
Avatar
Wait, i xan only save words?
Avatar
You can also unsave them by clicking on the star again
Avatar
I tryied staring sentences, and nothing
11:15 PM
Now checked, words too. Nothing
11:15 PM
This needs improvements
11:15 PM
But the text selecting mechanism is not bad
Avatar
Avatar
Szybet
I tryied staring sentences, and nothing
It's saved words
Avatar
Pretty good, maybe adding arrows like in koreader and then it's the best
Avatar
Avatar
tux-linux
It's saved words
Then it's useless a bit
11:16 PM
But there are no words in saved words app
Avatar
Avatar
Szybet
Then it's useless a bit
Nickel has the same thing
Avatar
Then nickel is useless too
Avatar
Avatar
Szybet
But there are no words in saved words app
ls /data/config ?
11:18 PM
No
Avatar
Avatar
tux-linux
ls /data/config ?
I don't have a ssh or anything now
Avatar
ls /opt/config
Avatar
Usbnet on Android phone?
11:18 PM
SSH on wifi?
11:18 PM
Install termux
11:20 PM
Or open kterm
Avatar
Avatar
tux-linux
Or open kterm
No xorg on nia
Avatar
Avatar
Szybet
Click to see attachment 🖼️
That's because the signal is low I thing. Or there are repetiers. But on Android phone
Avatar
Maybe you can set up a hotspot
11:23 PM
And this. Dark mode didn't disabled itself after exciting the book and there are flickers and screen bugs everywhere
Avatar
Dark mode is not stable on new devices
Avatar
Avatar
tux-linux
Maybe you can set up a hotspot
I would need another device. I will do it on weekend
Avatar
Your phone
Avatar
Avatar
tux-linux
Dark mode is not stable on new devices
Maybe darkmode could be handled by qt?
11:24 PM
Too hard
Avatar
Avatar
tux-linux
Dark mode is not stable on new devices
Can I help improve it?
Avatar
Maybe
11:26 PM
white-on-black mode for Kobo ebook readers. Contribute to gtalusan/kobo-nightmode development by creating an account on GitHub.
Avatar
Avatar
Szybet
This needs improvements
Maybe 2.0?
Avatar
You're on your own
11:33 PM
I will have enough issues with powerd, file chooser, redesign, etc.
Avatar
Powerd?
Avatar
There is no issue label...
Avatar
Reimplantation of the sleep wake framework in C++ I want to do
11:38 PM
It's a fork
Avatar
You didn't read what NiLuJe said in #chat
Avatar
I read
11:38 PM
And, what?
11:39 PM
Dealing with the kernel and event codes works much better in C/C++
11:40 PM
I will probably take ideas from your implementation too
Avatar
Avatar
tux-linux
I will probably take ideas from your implementation too
You need to. Your is sloww
Avatar
Avatar
tux-linux
Dealing with the kernel and event codes works much better in C/C++
But the result is the same
Avatar
You really found that fun to understand?
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
In short, "it looks bad" and?
Avatar
Avatar
tux-linux
You really found that fun to understand?
You mean?
Avatar
Avatar
Szybet
In short, "it looks bad" and?
It's just not a mentally sane way to handle that kind of things
11:42 PM
It's a nightmare to debug and a real learning curve, probably harder than C/C++, for someone to actually understand it completely
Avatar
Avatar
tux-linux
It's just not a mentally sane way to handle that kind of things
Well okay
Avatar
Avatar
Szybet
You need to. Your is sloww
Yours is fast because the Nia doesn't need the 10s delay before actually going to sleep Other devices do
Avatar
No. Kt goes to sleep still after 10s
Avatar
Then why do you say it's fast?
Avatar
It's faster because the manager don't need to wait for something to finish. ( why I would need to finish connecting to wifi when I want to go to sleep ). It kills it and starts going to sleep
11:45 PM
It's the same way around, it kills the sleep script and starts the after script
11:45 PM
Also some improvements in order
11:45 PM
Do it properly, so I don't need to redesign it
Avatar
That does not mean I will accept your changes ;p
11:47 PM
i'll see
11:49 PM
tonight I'll make the final touches and release 1.9
Avatar
Avatar
tux-linux
That does not mean I will accept your changes ;p
If you do it the old way I will not be happy. The user input should be always handled, no matter what
Avatar
Well, that was already planned
Avatar
How will you handle building the roots then?
Avatar
How will you build the rrotfs, you need to compile a bin file before
Avatar
The bin will probably be included and I'll update it when needed
12:01 AM
Like 2048 in gui-bundle
12:01 AM
or qreversi
12:01 AM
I'll provide the source code on another repo
Avatar
Saved words work for me
Avatar
At least those special characters show up fine in Reader (edited)
2:23 AM
And it's the same font ... strange
Avatar
Logging is getting along quite well! 06/04/2022 @ 22:44:02 | main: Running on device n705 06/04/2022 @ 22:44:03 | MainWindow: Checking for available updates ... 06/04/2022 @ 22:44:03 | MainWindow: checkForUpdate: No update available. 06/04/2022 @ 22:44:04 | MainWindow: Showing USB Mass Storage dialog ... 06/04/2022 @ 22:44:20 | MainWindow: Opening Settings Chooser widget ... 06/04/2022 @ 22:44:23 | settingsChooser: Launching KoBox Settings ... 06/04/2022 @ 22:44:26 | settingsChooser: Launching InkBox Settings ... 06/04/2022 @ 22:44:27 | functions: defineDefaultPageSize: Defined default ePUB page height to 365 06/04/2022 @ 22:44:27 | functions: defineDefaultPageSize: Defined default ePUB page width to 365 06/04/2022 @ 22:44:27 | functions: defineDefaultPageSizeDefined default PDF page height to 750 06/04/2022 @ 22:44:27 | functions: defineDefaultPageSizeDefined default PDF page width to 550 06/04/2022 @ 22:44:30 | main: Running on device n705 06/04/2022 @ 22:44:31 | MainWindow: Checking for available updates ... 06/04/2022 @ 22:44:31 | MainWindow: checkForUpdate: No update available. 06/04/2022 @ 22:44:32 | MainWindow: Showing USB Mass Storage dialog ... 06/04/2022 @ 22:44:41 | MainWindow: Launching Reader Framework ... 06/04/2022 @ 22:44:41 | reader: Opening file '/mnt/onboard/onboard/67550.epub' 06/04/2022 @ 22:44:41 | functions: defineDefaultPageSize: Defined default ePUB page height to 365 06/04/2022 @ 22:44:41 | functions: defineDefaultPageSize: Defined default ePUB page width to 365 06/04/2022 @ 22:44:42 | functions: Finding ePUB metadata ... 06/04/2022 @ 22:44:42 | functions: findEpubMetadata: ePUB metadata is: Bertrand W. Sinclair 06/04/2022 @ 22:44:42 | functions: Finding ePUB metadata ... 06/04/2022 @ 22:44:42 | functions: findEpubMetadata: ePUB metadata is: Troubled Waters (edited)
6:42 PM
Mhm, after 2 days od reading one book
6:42 PM
Now the book exited, i clicked it and its working
6:42 PM
Now I can't close the option button
6:43 PM
Now it's 0 pages again
6:43 PM
😩
6:46 PM
6:46 PM
well
6:48 PM
After rebooting its fine
6:48 PM
But still
Avatar
How do you reboot ?
Avatar
I managed to go to the menu and revoot button
11:49 PM
Reset inkbox did nothing
Avatar
it's probably because of the dark mode
Avatar
You just need to update the rootfs
Avatar
When you reboot, does the timezone work properly or you have to connect it to the Wi-Fi for it to show the right time?
Avatar
Maybe they work, idk. The time is always incorrect
7:24 AM
Wrll, after NTP yes but it decalibrate quickly
7:24 AM
IW theree a Fox for that?
Avatar
decalibrates? that's a hardware issue it would mean that even the hardware clock is crap
1:41 PM
nice
1:41 PM
if it works after ntp at least the base is working
Avatar
The Nia's clock drifts extremely severely during suspend, yeah.
1:48 PM
Doing a simple hctosys on resume is mandatory on it
👍 1
Avatar
Avatar
NiLuJe
The Nia's clock drifts extremely severely during suspend, yeah.
@tux-linux you are not doing it right? (edited)
Avatar
Avatar
NiLuJe
The Nia's clock drifts extremely severely during suspend, yeah.
Is it becouse the chip is crap? Or power issue?
Avatar
Hmm im building a module with audio through USB, maybe adding a small CPU that would send it using serial and a good rtc module would be good (edited)
1:59 PM
U-Boot would not work with a serial USB adapter right? There would be no access becouse it uses low level CPU pins?
Avatar
You can't access U-Boot once the kernel has started AFAIK At least, that's how it is on sunxi devices
Avatar
Avatar
Szybet
@tux-linux you are not doing it right? (edited)
I'll add it
Avatar
Avatar
NiLuJe
Doing a simple hctosys on resume is mandatory on it
So the hardware clock is ok, it's only the system one?
Avatar
Avatar
tux-linux
You can't access U-Boot once the kernel has started AFAIK At least, that's how it is on sunxi devices
U-Boot is helpfull only when the kernel doesn't
2:50 PM
And it is for me frequent
Avatar
Are the sliders ok?
Avatar
haven't tested yet, tommorow
9:45 PM
i have read an entire book using inkbox, the only major problem was the one that needed rebooting
9:50 PM
the second inconvenience was that all sides needed sliding for 1-2 lines. can't be there showed the entire page of the book ( in epubs ) its just more text, it won't cause major performance problems
👍 1
Avatar
It's strange, I also get the font issues on my Glo HD but not on the emulator
9:52 PM
Can't understand why
Avatar
Avatar
Szybet
the second inconvenience was that all sides needed sliding for 1-2 lines. can't be there showed the entire page of the book ( in epubs ) its just more text, it won't cause major performance problems
can you do it?
Avatar
Avatar
tux-linux
It's strange, I also get the font issues on my Glo HD but not on the emulator
um...
Avatar
Avatar
Szybet
can you do it?
Have you tried to reduce Epub page size?
Avatar
what?
9:55 PM
this will not fix the problem
Avatar
Yes it will
Avatar
why...
9:56 PM
so to what walue do i set it?
Avatar
Try...?
9:56 PM
Lower
Avatar
now it uses half the screen
9:57 PM
just no
9:57 PM
it will not work
9:58 PM
it will be never perfect using this
Avatar
Have you tried to set only height or only width?
Avatar
both to 300
Avatar
Avatar
Szybet
it will be never perfect using this
It is difficult to have a perfect fit because the user can choose fonts
Avatar
+ the font is smaller
Avatar
Which change the text, this the page, size
Avatar
Avatar
Szybet
+ the font is smaller
That is impossible
Avatar
Avatar
tux-linux
It is difficult to have a perfect fit because the user can choose fonts
it will be if you won't cut pages to smaller pages. its just stupid for the most part
9:59 PM
just show the entire page
10:00 PM
5Kb of more text won't kill performance
Avatar
How? Will just be more scrolling to do
Avatar
but this scrolling will make sense
Avatar
Avatar
Szybet
just show the entire page
There's no entire page
10:01 PM
If you want that just increase the size in Settings
Avatar
+ this will be the best way to mark lines of text in the future. koreader has problems with that
Avatar
Avatar
tux-linux
There's no entire page
then we need to find a way that scrolling 2 lines won't be needed
10:02 PM
for all configurations
Avatar
But then you have to split bigger pages into smaller pages And insert missing text in the next page Change page numbers Keep in mind that fonts are different This will be a nightmare
10:04 PM
Also the auto save page thing will be messed up
Avatar
But then you have to split bigger pages into smaller pages
you are already doing this
And insert missing text in the next page
its better then scrolling
Change page numbers
how are pages calculated in epubs?
Keep in mind that fonts are different
yes
This will be a nightmare
yes. do we have another way?
Also the auto save page thing will be messed up
it already is
10:14 PM
i will try to make a small qt app demo
10:14 PM
with it
10:14 PM
but after sanki is released
Avatar
Avatar
Szybet
But then you have to split bigger pages into smaller pages
you are already doing this
And insert missing text in the next page
its better then scrolling
Change page numbers
how are pages calculated in epubs?
Keep in mind that fonts are different
yes
This will be a nightmare
yes. do we have another way?
Also the auto save page thing will be messed up
it already is
Use qtextdocument with the full book XHTML At the time I tried it it was incredibly complicated and a nightmare to understand But in theory it should break the ePUB into pages adapting on the screen size
10:37 PM
Honestly I am not sure it is the right way either
Avatar
qtextdocument? i though its qtextedit
Avatar
It is currently
Avatar
oh okay
Avatar
But I'm not even sure it would work actually
Avatar
tomorrow I'll work on imgtool and hopefully we'll have reproducible images soon ready for release
11:22 PM
I think everything is done/ready for 1.9 (edited)
11:23 PM
As for the timezone stuff, I don't have an idea about what's going on, but at least what I set up works since NTP syncs fine
Avatar
Dis you try what niluje said? (edited)
Avatar
oh yeah; i need to do it too
11:28 PM
i forgot that
Avatar
Avatar
Szybet
Dis you try what niluje said? (edited)
it's not related to the timezone though
Avatar
Does it improve time accuracy to a good level? (edited)
Avatar
I'll test it today But I haven't got devices that drift during sleep AFAIK
Avatar
Nia is shifting even in nickel
Avatar
whoops
Avatar
Yeah, George mentioned that Nickel had been doing an hctosys on resume since basically forever because of similar issues (possibly on very very old devices, though ;p The Nia is the only "recent" device affected, AFAIK).
👍 1
Avatar
@Szybet did you test the sliders? (edited)
Avatar
i will do it in max 4 hours today from now
👍 1
Avatar
I'll continue working on imgtool from my side
11:28 PM
almost perfect
Avatar
Maybe make that the slider jumps per 2%, then it will be longer in horizontal orientation?
Avatar
what do you mean? (edited)
Avatar
In the slider, the thing you slide ( the black one ) is to small in horizontal orientation (its maybe widthh?). Its becouse its 100 numbers and percantage grom that. Doing it in half would make the slide thing bigger. Or maybe there is a Vetter solution
3:48 PM
Adding like 5 pixels to it would solve the issue
Avatar
imgtool is online; still a big WIP this is complicated https://github.com/Kobo-InkBox/imgtool/blob/main/release.bash (edited)
Reproducible image builder for InkBox OS. Contribute to Kobo-InkBox/imgtool development by creating an account on GitHub.
6:34 AM
Is this your private server?
Avatar
Avatar
tux-linux
imgtool is online; still a big WIP this is complicated https://github.com/Kobo-InkBox/imgtool/blob/main/release.bash (edited)
Could be worse
Avatar
Avatar
Szybet
Is this your private server?
It's @fermino 's one He permits me to put InkBox packages there, which is really cool
Avatar
Idk about the security of it
11:18 AM
And speed isin't perfect too
11:18 AM
Could't githuv be used for that?
Avatar
Avatar
Szybet
Idk about the security of it
why does it matter?
Avatar
Avatar
Szybet
Could't githuv be used for that?
No, GH file size limit is 80M Otherwise, you have to pay for LFS (edited)
Avatar
Avatar
tux-linux
why does it matter?
IF you focus on security in inkbox that much then maybe this server too
Avatar
Avatar
tux-linux
No, GH file size limit is 80M Otherwise, you have to pay for LFS (edited)
Hm okay
Avatar
Avatar
Szybet
IF you focus on security in inkbox that much then maybe this server too
It's only for download So like, what's the point of using https
8:49 PM
The main website is in https
Avatar
the only risk is for replacing the files in there
Avatar
And how would https help?
Avatar
where did i say anything about https, no, maybe md5sums on github?
Avatar
sha256sums could be a good idea Maybe on the website
Avatar
no... whats the point if giving sums on the same website. if someone replaces the files then whats the problem with replacing the sums
Avatar
No, I mean the main website
8:51 PM
On the downloads page
Avatar
Avatar
Szybet
no... whats the point if giving sums on the same website. if someone replaces the files then whats the problem with replacing the sums
i think linux mint had a breach like that before
8:52 PM
There
Avatar
Avatar
tux-linux
No, I mean the main website
its still the same server?
8:52 PM
It's also versioned on GitHub
Avatar
well, good
8:52 PM
but i would still prever sums on github too (edited)
Avatar
They will be on GitHub
8:53 PM
InkBox Project official website source. Contribute to Kobo-InkBox/inkbox.ddns.net development by creating an account on GitHub.
8:53 PM
Server pulls from there every minute
Avatar
is it normal that in sleep the battery is degrading like 70% in 2/3 days?
8:54 PM
i think on nickel it was similar
Avatar
Maybe cpugovernor thing
Avatar
oh yea, i set cpufreq to another thing 😆
👍 1
8:58 PM
oh to this: i have another idea for it: a deep sleep button in the menu. it would apply powersave for the cpu, unload all modules ( usb things eat up battery too ), disable some services like sshd. it would improve battery life
8:59 PM
it would stand up from sleep more ( its a thing for cpugovernor powersave ) but if i know i would't use the reader for 2 days i would use it
Avatar
@tux-linux so you simply want to rewrite the current sleep scripts into cpp or something more?
Avatar
Basically that, yes
Avatar
so i want to write it
Avatar
What if I want to?
Avatar
then you write it, and i edit it later for my weird case
8:26 PM
Maybe explain it and I'll try to include it the code already
Avatar
soo can i redesign it for the kobo nia as a setting option that it will: - its sleeping - value 0 detected - value 1 ( its on the back ) - value 0 detected - value 1 detected, the sleep cover is back on the top go to sleep now this software mod is the only thing i can think of that would work
Avatar
@tux-linux here is a problem with the Kobo Touch N905C, @NonaSuomy doesn't have the wifi button
Avatar
also, could you create a problems / bugs / help channel here on discord tux-linux?
4:54 PM
@NonaSuomy which version of inkbox do you have
Avatar
Maybe I have to update from the 1.5 to 1.8
Avatar
Avatar
Szybet
@NonaSuomy which version of inkbox do you have
1.5
Avatar
its really old, update it to be sure
4:55 PM
newer version have also better user experience
Avatar
Does inkbox support cbz/cbr?
Avatar
i dont think so, but it could in the future, maybe you could convert them to pdfs?
Avatar
It’s just nice having the direct support for the formats so you can download them direct from libgen.gs without a computer involved.
5:09 PM
Have you tried to make any apps or other things for inkbox?
Avatar
Avatar
NonaSuomy
It’s just nice having the direct support for the formats so you can download them direct from libgen.gs without a computer involved.
yes, sure. we will add it to the list to add
Avatar
Avatar
NonaSuomy
Have you tried to make any apps or other things for inkbox?
yes, im writing sanki for inkbox right now https://github.com/Szybet/sanki most of the part is just writing a regular qt app, so its pretty easy. you can go with full bare metal fbink too
5:11 PM
inkbox is the best for it, writing apps for plato, koreader or nickel is harder and not so good appearing
Avatar
Is Anki an E reader app?
Avatar
no, but sanki will
5:13 PM
thats the point of it
Avatar
What is sanki? I looked at the link and don’t see a readme.md
Avatar
Avatar
NonaSuomy
Does inkbox support cbz/cbr?
is it a manga format? maybe mangareader supports it
Avatar
Avatar
NonaSuomy
What is sanki? I looked at the link and don’t see a readme.md
see the description of the project
Avatar
Just seems to say a light version of anki
Avatar
small anki 😉
Avatar
Sanki —verbosemode
5:17 PM
Maybe add to the description what Anki is all about or what it’s going to do in your idea.
Avatar
when it will be usable, i will add
Avatar
Is it currently running on the device?
Avatar
yes, running an qt app is easy. but making it look good harder
5:20 PM
the main problem now is no sql support on the build in qt libraries, im trying to add them, look at #dev
5:20 PM
anki uses sql so i need too
Avatar
What is the link to anki?
Avatar
Thank you
5:40 PM
What do you use it to remember?
5:41 PM
updating to 1.8 now.
5:47 PM
The boot logo needs some form of loading animation to signify it's doing something.
Avatar
Avatar
NonaSuomy
What do you use it to remember?
school, electronic things, leaguages, egzams etc
Avatar
I keep hitting the home button and putting it to sleep when I think it is locked up
Avatar
Avatar
NonaSuomy
The boot logo needs some form of loading animation to signify it's doing something.
there is a loading animation
Avatar
maybe it's on the updated version.
5:48 PM
It's still updating
Avatar
Avatar
NonaSuomy
I keep hitting the home button and putting it to sleep when I think it is locked up
?
Avatar
1.5 just showed inkbox logo.
5:48 PM
nothng else
5:52 PM
InkBox crash Error code: 3
Avatar
did you put it to sleep while it was updating?
Avatar
Avatar
Szybet
did you put it to sleep while it was updating?
?
Avatar
don't believe so maybe during boot
5:59 PM
Didn't touch it after it said do you want to update
Avatar
um... weird
5:59 PM
try to reboot
Avatar
yeah notta
6:00 PM
need to remove the back and reflash the sd
Avatar
yea do it
6:00 PM
but its weird
6:00 PM
tux-linux needs to look at it
Avatar
I'll try one more time for giggles.
6:02 PM
too bad it doesn't go into a recovery usb state where you can just dump the os back to .inkbox folder to reload.
Avatar
actually, in never inkbox it goes
6:03 PM
then you can telnet to it, or even an file server is launched
Avatar
Avatar
Szybet
actually, in never inkbox it goes
but only with rooted kernels
Avatar
when you do the updates do you have to do them in order?
6:15 PM
or can you just go from 1.5 -> 1.8?
Avatar
i think no, but im not 100% sure
6:16 PM
just do 1.8
Avatar
ok will try again just waiting for it to boot again after sd flash.
Avatar
Avatar
Szybet
@tux-linux here is a problem with the Kobo Touch N905C, @NonaSuomy doesn't have the wifi button
It's not supported
6:41 PM
why
Avatar
Avatar
tux-linux
It's not supported
Does it not have the same chipset as the A/B?
Avatar
Avatar
NonaSuomy
Click to see attachment 🖼️
Did you update to 1.6, then to 1.8, as specified in the readme?
Avatar
Avatar
tux-linux
Did you update to 1.6, then to 1.8, as specified in the readme?
well, he didn't. i didn't knowed aboout this too
Avatar
Nope! but will now
Avatar
Avatar
Szybet
why
I&#39;ve recompiled a kernel from the imx507 sources for a Kobo Mini and Kobo Touch. All is fine but the wi-fi module doesn&#39;t want to cope with that kernel. I compiled the other modules...
Avatar
in the folder for 1.6 is two files
Avatar
Avatar
Szybet
well, he didn't. i didn't knowed aboout this too
It's literally in bold letters in the readme
Avatar
Ideally without wifi this may not be very useful
Avatar
And in the how-to update file on the server
Avatar
Avatar
NonaSuomy
in the folder for 1.6 is two files
Put them both there at once
Avatar
Avatar
NonaSuomy
Ideally without wifi this may not be very useful
This doesn't mean I haven't tried to support it there
Avatar
Avatar
NonaSuomy
Does it not have the same chipset as the A/B?
No
6:46 PM
Touch B is imx508
Avatar
Avatar
tux-linux
This doesn't mean I haven't tried to support it there
its complicated there...
6:47 PM
but what does not work there? at the end you say its working with busybox
Avatar
It's the Wi-Fi firmware and kernel module Both are crap
Avatar
On Mini, Glo and Touch C the kernel module doesn't want to load, it fails everytime
6:49 PM
I got it working on the Glo HD and Touch B which have the same Wi-Fi chip but different SoC
Avatar
we need a linux wizard - C/CPP god to help us with those crap drivers :/
Avatar
I think there is a solution, but I haven't tried it yet I will for 2.0 release
🤞 1
Avatar
http://23.163.0.39/bundles/inkbox/native/update/Update-HOWTO you should put that 1.6 note in these files. I'm still not sure where it says this in bold.
6:57 PM
7:01 PM
An open-source, Qt-based eBook reader for Kobos. Contribute to Kobo-InkBox/inkbox development by creating an account on GitHub.
Avatar
May cause you less headaches just to put the release version on the site to 1.6.
Avatar
Avatar
NonaSuomy
May cause you less headaches just to put the release version on the site to 1.6.
no...
Avatar
that will be more headache for me
Avatar
Why is that?
7:10 PM
I guess if you release 2.0 as a full flash at some point then you can just remove the funny business.
Avatar
One step forward.
Avatar
Avatar
NonaSuomy
Why is that?
The original 1.5 rootfs didn't copy the digital signature of the rootfs which lead to an error if ever the rootfs was updated
7:40 PM
1.6 update fixes that with a temporary kernel that bind-mounts a scripts that copies the digital signature
7:40 PM
Then it can update to 1.6 and future versions (edited)
7:40 PM
Now you can directly jump to 1.8
Avatar
I thought I was being smart and copied 1.8 to the card as well but renamed it to .bak but it wiped the full folder 😅
7:42 PM
Waiting for the 600KB/s copy process again.
7:45 PM
If you hit eject on the pc with the usb screen eventually go away or you have to physically unplug it as well?
Avatar
pretty sure you need to unplug it, at least in my experience
Avatar
Avatar
NonaSuomy
If you hit eject on the pc with the usb screen eventually go away or you have to physically unplug it as well?
unplug it too
Avatar
Worked this time around thank you!
9:48 PM
Now just need wifi and I can ditch the Kobo OEM OS
9:52 PM
How do you get out of light maps?
Avatar
Avatar
NonaSuomy
How do you get out of light maps?
😅 1
9:53 PM
this will be fixed, but there is no exit button
9:55 PM
maybe sleep will shut it down
9:55 PM
or just reboot it
Avatar
Reboot it is I guess
10:00 PM
Does usb networking work?
Avatar
Not sure if I was reading something about that
Avatar
it works
Avatar
How do you set that up?
Avatar
root the device
10:02 PM
its on the wiki
Avatar
holy crap thats soo cool
10:43 PM
why i didn't knowed about this
10:43 PM
diffrent versions of inkbox, even nickel on the same sd card
Avatar
So basically you can boot inkbox and the oem os from the same card?
10:44 PM
and many more
10:44 PM
its a bootloader
Avatar
That is cool
Avatar
bricking your device is impossible with this
Avatar
Is there more than these two?
10:45 PM
maybe the one based on debian
10:45 PM
but its dead
Avatar
Is the video just a PoC so far?
Avatar
propably
Avatar
Avatar
Szybet
diffrent versions of inkbox, even nickel on the same sd card
Only nickel
Avatar
Avatar
Szybet
propably
There's a repo on my GH account
Avatar
Is nickel the name of the official kobo os?
11:36 PM
@tux-linux can I test your wifi fix for n905c ?
Avatar
Avatar
NonaSuomy
Is nickel the name of the official kobo os?
yes
Avatar
Avatar
NonaSuomy
@tux-linux can I test your wifi fix for n905c ?
not done yet
Avatar
Avatar
tux-linux
Only nickel
Does that mean only only Nickel like inkbox can’t be booted from it?
Avatar
i don't understand
Avatar
Avatar
tux-linux
Only nickel
He said you could boot multiple versions of inkbox/nickel. You said only nickel. Was trying to understand if that means nickelboot can only boot nickel and not inkbox.
11:54 PM
Or you can boot 1 nickel or inkbox from it.
Avatar
Avatar
NonaSuomy
He said you could boot multiple versions of inkbox/nickel. You said only nickel. Was trying to understand if that means nickelboot can only boot nickel and not inkbox.
You can only boot Nickel, that's why it's called NickelBoot
Avatar
Avatar
tux-linux
You can only boot Nickel, that's why it's called NickelBoot
Thank you for the clarification.
👍 1
12:05 AM
Why would you want to boot multiple copies of Nickel?
12:06 AM
Or is the goal to eventually figure out how to boot both and that was just the first step?
Avatar
Help other people @pgaskin , who maintains NickelMenu, found that useful, I don't know if he will use it or not, he might not need it, but I think it's definitely useful for packagers to test their software on different Nickel versions (edited)
Avatar
Ok would this be difficult to port to inkbox https://github.com/jasonhector/qok
A custom openhab e-ink display using python and Qt - GitHub - jasonhector/qok: A custom openhab e-ink display using python and Qt
Avatar
Not really
12:16 AM
Python is a problem
Avatar
Is the python interpreter included with inkbox?
Avatar
It is, but it will be removed
12:18 AM
Python is a performance killer
Avatar
Avatar
NonaSuomy
Ok would this be difficult to port to inkbox https://github.com/jasonhector/qok
It would be better IF you rewrite this in cpp
12:18 AM
Thats what i do with sanki
Avatar
Avatar
Szybet
Python is a performance killer
this
12:21 AM
@Szybet imgtool is working
Avatar
Just having it available kills the performance of inkbox or just sluggish to use it to develop something and run it?
Avatar
Though it won't work for the Nia currently if you try to build an image It needs an inkbox-update.upd.isa file which isn't currently on the server It will be for 1.9
Avatar
If it has no impact to the os should just be left
Avatar
Avatar
tux-linux
@Szybet imgtool is working
Nice, good work
Avatar
Barrier to entry for a lot of people to play with python code is a lot less daunting
Avatar
Avatar
NonaSuomy
Just having it available kills the performance of inkbox or just sluggish to use it to develop something and run it?
Python is not great for any embedded device It's an interpreted language, not compiled
Avatar
If they just want to play with some console basic hello world stuff
Avatar
It's just not efficient
12:25 AM
If they want to do that, they need to do it in bash (edited)
12:25 AM
Python is too bulky for such a device like e-readers
12:26 AM
That's the reality
Avatar
whistles happily
12:26 AM
Python rocks.
Avatar
hmm......
12:28 AM
Given that the main rootfs is a squashfs compressed in XZ format, not so sure in my case
Avatar
The only significant performance cost that you'll feel more than on standard devices is the interpreter bringup.
12:28 AM
After that, performance is similar to what it should be.
12:28 AM
So, yeah, spawning a bunch of interpreters will be slow, but that's not really what you want to be doing with it ;o)
Avatar
Avatar
tux-linux
Python is not great for any embedded device It's an interpreted language, not compiled
They use it endlessly now for microcontrollers
Avatar
yeah well, you'll admit that bash is still faster
Avatar
Micropython
Avatar
Depends on what you do with it after (edited)
Avatar
Micropython
Avatar
forking a shell isn't free either
12:29 AM
(or forking inside a shell, either. which you can much more easily avoid in Python)
Avatar
Avatar
NonaSuomy
@tux-linux can I test your wifi fix for n905c ?
btw is this also for the Mini?
Avatar
Well, in my experience with Python on eReaders, it wasn't great Shell was much faster
Avatar
Python is by no means a speed daemon, but that's not what you should use it for anyway 😉
👍 1
Avatar
Avatar
dill
btw is this also for the Mini?
maybe
Avatar
ye python is slow on Kobos
Avatar
You're conflating the interpreter bringup with, well, everything else ;p
Avatar
Avatar
NonaSuomy
They use it endlessly now for microcontrollers
Did you actually tryied it out?
Avatar
I'm also thinking about Gentoo's portage... (edited)
Avatar
Avatar
Szybet
Did you actually tryied it out?
I have It works fine, but I'd rather have used C++ if I would have had more time
Avatar
Paludis tried to rewrite it in C++. That... didn't go all that well, performance-wise.
Avatar
Zackfreedman with his keyboard, he coded it with python and now its slow
12:32 AM
So idk about the performance :p
Avatar
And it was written by people who were damn fine C++ coders 😉
Avatar
Well, let's still admit that Calculating dependencies might be actually longer than updating your system
Avatar
Avatar
NiLuJe
And it was written by people who were damn fine C++ coders 😉
Interesting
Avatar
It's slow, but not necessarily because of Python
Avatar
Avatar
tux-linux
I'm also thinking about Gentoo's portage... (edited)
On the kobo??????
Avatar
no .... lmfao
Avatar
Python sure has some nice features over other languages and simplicity, but on embedded devices I would rather use a compiled language
12:35 AM
On desktop I can see the appeal
Avatar
Depends on what you use it for ;o)
Avatar
examples?
12:37 AM
I use it for text file parsing, I haven't gotten around changing this yet, but it's incredibly slow at start because of the interpreter bringup as you said
Avatar
Well, yeah, that: don't spawn interpreters for 5ms tasks ;p (edited)
Avatar
Or maybe spawn it initially and delegate tasks later...
Avatar
Avatar
tux-linux
I use it for text file parsing, I haven't gotten around changing this yet, but it's incredibly slow at start because of the interpreter bringup as you said
I will replace this if you dont, just for saying "inkbox is python free"
12:38 AM
😁
Avatar
I could be open to adding Python in the main rootfs But those who want that will have to give me valid reasons why it couldn't be accomplished with shell
Avatar
Readability, mostly
Avatar
Inkbox is too fast, we need to slow it down
😂 1
Avatar
Python code is incredibly easy to follow
Avatar
Avatar
NiLuJe
Python code is incredibly easy to follow
Thats true
Avatar
Yes, apart from readability...
Avatar
And Qt code is horrible to follow
Avatar
We focus on the end result, not how to read the code, even if reading shell is quite painful
Avatar
Avatar
Szybet
And Qt code is horrible to follow
true too
Avatar
I... kind of like it, for C++
12:41 AM
cough rust cough
Avatar
Well, it's easy to follow when there are enough comments But like, InkBox is not good on that point
Avatar
Rust is not great, but better
Avatar
(counter-example of needing to be a rocket scientist to follow)
Avatar
python3 interpreter bringup takes 6.5 seconds on the Mini
12:42 AM
(after echo 1 > /proc/sys/vm/drop_caches)
Avatar
I like the idea of Rust, but I can't see myself ever touching it with a ten-foot pole without actually having, to, like, learn CS stuff for real ;p
Avatar
Most of the Rust code I read I didn't understand anything
12:43 AM
C++ is enough for me...
Avatar
For reading, it depends
12:45 AM
But for packaging, documentation, level to learn it its better
12:45 AM
And the compiler is smart most od the time
Avatar
interesting I still wouldn't jump to code InkBox in Rust
Avatar
Well, look at plato
12:48 AM
Fasttttttttt😏
Avatar
Yes I won't try to imagine Plato or InkBox programmed in Python that would be a nightmare
12:51 AM
change my mind........ 😂
Avatar
I wager you'd actually be surprised ;).
Avatar
hmm hmm
Avatar
I'm not saying it's necessarily a great idea, or that it would be amazingly fast, but I don't expect that it would be meaningfully slow.
12:52 AM
And you'd be able to prototype hilariously faster
12:52 AM
Need I remind you that calibre is written in PyQt ;o)
12:53 AM
(with a bunch of native modules for computationally intensive bits)
Avatar
Avatar
NiLuJe
And you'd be able to prototype hilariously faster
true
12:54 AM
random question: i've never been sure whether koreader was interpreted or compiled, or both
Avatar
The answer is neither and both ;p
Avatar
I've read a bit about LuaJIT and it seems nice
Avatar
It's a JIT compiler, meaning it heuristically compiles stuff at runtime (edited)
12:56 AM
Which allows it to be pretty damn fast when the JIT gods are with you ;p
Avatar
hmm nice
12:56 AM
maybe inkbox in lua would be nice
Avatar
The native ffi support makes interacting with C libraries fairly painless (caveats may apply :D), at some readability cost
12:57 AM
Lua's... weird.
Avatar
Avatar
NiLuJe
Lua's... weird.
I like syntax though
Avatar
Koreader is in lua... And i have seen faster things
Avatar
I grew to like it, but it can be deceptively finicky despite its simplicity.
12:58 AM
@Szybet: I haven't ;p
12:58 AM
We beat the Kindle UI
Avatar
Idk about the kindle
Avatar
Avatar
NiLuJe
We beat the Kindle UI
that's pretty damn true
Avatar
Which is the fastest thing I've ever gotten the pleasure to use.
Avatar
On the nia it wasn't great
Avatar
one of the slowest I have seen
Avatar
On pocketbook too
Avatar
The Nia's kernel is a broken mess (apparently less so on 4.32)
Avatar
Avatar
NiLuJe
The Nia's kernel is a broken mess (apparently less so on 4.32)
true too
Avatar
And PocketBooks run on weird old sunxi SoCs
Avatar
I nad used a kindle too, its not bad?
Avatar
The most recent PB contributor simply gave up trying to do things by hand and implemented a native backend to ease most of the pain away
1:00 AM
the Kindle's UI (and Reader) is pretty damn snappy (usually), yeah.
1:01 AM
Despite its... fairly complex design.
Avatar
Avatar
NiLuJe
the Kindle's UI (and Reader) is pretty damn snappy (usually), yeah.
not on my pw3 though...?
Avatar
Avatar
NiLuJe
Despite its... fairly complex design.
its fairly coughs restrictive OS
Avatar
It's snappier than nickel on similar hardware ;p
Avatar
InkBox is restrictive, but Kindle OS is......
1:02 AM
Like, Secure Boot was a bit too much
1:03 AM
I'd like to implement that on InkBox, but at least provide users a way to change the keys if they want
Avatar
Ok, I think this time is the right time; I've gotten around about everything I've wanted to fix in the GUI, completed logging (it now also logs to /var/log/inkbox-gui.log if GUI_DEBUG flag is set to true), added support for landscape PDFs, fixed the timezone thing, it doesn't require any reboot anymore and implemented some fancy cinematic brightness if a different setting is set for a book. So I think I can release 1.9 now. Finally. Am I wrong? ^^ (@Szybet : advice requested) (edited)
Avatar
Is there a guide to root to enable USBNet
Avatar
When you have no network connection to modify files?
Avatar
Boot in diagnostics
4:45 AM
The flags tab
Avatar
How do you access Sd-p1
4:51 AM
To put the boot flags in place?
Avatar
Launch diagnostics mode
4:52 AM
There is a flags tab at the top
4:52 AM
Tick the USBNET_ENABLE checkbox (edited)
4:52 AM
(are you rooted)?
Avatar
Avatar
NonaSuomy
How do you access Sd-p1
mount /dev/mmcblk0p1 /mnt
4:53 AM
but you can enable usbnet from diags
Avatar
how to boot in diagnostics mode seems it says you do a factory reset?
Avatar
do you just hit reset from the options menu?
4:54 AM
you need to reboot and once the green light starts flashing, immediately slide the power button repeatedly for ~5s (edited)
4:54 AM
then wait a minute or two
4:54 AM
and diags GUI should come up
Avatar
got to it
Avatar
if you need to root the device, go into reset options and reset as root
4:56 AM
after the reset is done, get into diags again and tick the usbnet checkbox
Avatar
USBNet doesn't work unless you are rooted correct?
Avatar
then reboot without sliding the power button again and it will show up as an usbnet device on your computer with IP 192.168.2.2 by default
4:57 AM
yes
Avatar
Avatar
NonaSuomy
USBNet doesn't work unless you are rooted correct?
when on a standard kernel you can't access any shell even via serial for security reasons
Avatar
Avatar
tux-linux
if you need to root the device, go into reset options and reset as root
you will need to update to 1.6->1.8 again though
4:58 AM
maybe I can give you a quick trick without needing factory reset
4:58 AM
do you have access to a linux pc?
Avatar
Avatar
tux-linux
maybe I can give you a quick trick without needing factory reset
want to do that instead?
Avatar
Sure
5:01 AM
Arch Linux
Avatar
power off put microsd card into the pc mount /path/to/inkbox-update-1.8.upd.isa /mnt dd if=/mnt/uImage-root-n905c of=/dev/mmcblk0 bs=512 seek=81920 echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 umount /mnt (edited)
5:03 AM
while you're at it: mount /dev/mmcblk0p1 /mnt echo true > /mnt/flags/USBNET_ENABLE umount /mnt (edited)
5:03 AM
and finally sync eject /dev/mmcblk0
Avatar
Avatar
Szybet
also, could you create a problems / bugs / help channel here on discord tux-linux?
done
Avatar
Thank you trying now
👍 1
Avatar
sudo mount inkbox-update-1.8.upd.isa /mnt ls /mnt rootfs.squashfs uImage-root-n905c uImage-std-n905c update.isa rootfs.squashfs.dgst uImage-root-n905c.dgst uImage-std-n905c.dgst update.isa.dgst cd /mnt sudo dd if=/mnt/uImage-root-n905c of=/dev/mmcblk0 bs=512 seek=81920 11660+1 records in 11660+1 records out 5970332 bytes (6.0 MB, 5.7 MiB) copied, 0.0329221 s, 181 MB/s sudo dd of=/dev/mmcblk0 bs=512 seek=79872 sudo mount /dev/mmcblk0p1 /mnt mount: /mnt: special device /dev/mmcblk0p1 does not exist.
Avatar
sudo fdisk -l?
Avatar
Just my nvme0 is listed
Avatar
well, most of it should be there, just enable usbnet from diags then sudo dd if=/dev/mmcblk0 bs=512 skip=79872 count=1? (edited)
Avatar
rooted 0+1 records in 0+1 records out 7 bytes copied, 2.7383e-05 s, 256 kB/s
Avatar
Your SD isn't detected by your computer
5:33 AM
You just have written to an empty file
5:33 AM
Am I right?
5:33 AM
sudo rm /dev/mmcblk0 and plug/unplug your SD
Avatar
Avatar
NonaSuomy
sudo mount inkbox-update-1.8.upd.isa /mnt ls /mnt rootfs.squashfs uImage-root-n905c uImage-std-n905c update.isa rootfs.squashfs.dgst uImage-root-n905c.dgst uImage-std-n905c.dgst update.isa.dgst cd /mnt sudo dd if=/mnt/uImage-root-n905c of=/dev/mmcblk0 bs=512 seek=81920 11660+1 records in 11660+1 records out 5970332 bytes (6.0 MB, 5.7 MiB) copied, 0.0329221 s, 181 MB/s sudo dd of=/dev/mmcblk0 bs=512 seek=79872 sudo mount /dev/mmcblk0p1 /mnt mount: /mnt: special device /dev/mmcblk0p1 does not exist.
181mb/s data rate is completely impossible
Avatar
let me try another reader
Avatar
Avatar
tux-linux
sudo rm /dev/mmcblk0 and plug/unplug your SD
then check if it detects partitions with fdisk -l
Avatar
Disk /dev/sdb: 3.69 GiB, 3965190144 bytes, 7744512 sectors Disk model: SD/MMC Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x9566d046 Device Boot Start End Sectors Size Id Type /dev/sdb1 40959 79871 38913 19M 83 Linux /dev/sdb2 104448 1128447 1024000 500M 83 Linux /dev/sdb3 1128448 1390591 262144 128M 83 Linux /dev/sdb4 1390592 7549747 6159156 2.9G 83 Linux
Avatar
ok redo the steps I mentioned before
Avatar
Avatar
tux-linux
power off put microsd card into the pc mount /path/to/inkbox-update-1.8.upd.isa /mnt dd if=/mnt/uImage-root-n905c of=/dev/mmcblk0 bs=512 seek=81920 echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 umount /mnt (edited)
there
Avatar
/dev/mmcblk0 => sdb1 ?
Avatar
yes
Avatar
or just sdb?
Avatar
just sdb
5:39 AM
sdb1 if it is mmcblk0p1
Avatar
should I change the IP address to the same as my lan?
5:51 AM
does it do dhcp?
Avatar
Avatar
NonaSuomy
should I change the IP address to the same as my lan?
No and no
6:03 AM
It works?
6:04 AM
Normally I do ifconfig usb0 192.168.2.1
Avatar
booting...
👍 1
Avatar
ssh root@192.168.2.2 Password is "root"
Avatar
do i say yes to the manage books when you plug in the usb cable?
6:12 AM
I see under settings => storage it says networking now
6:19 AM
Hmm I don't see a usb0
6:22 AM
Disconnecting the USB cable didn't seem to reset back main screen just stuck on the black screen with the USB logo
Avatar
Avatar
NonaSuomy
do i say yes to the manage books when you plug in the usb cable?
No
Avatar
maybe it crashed
Avatar
It will be in usbnet before you click that button
6:24 AM
Just reset with button on the back
6:24 AM
Or plug/unplug again, hit connect again, wait, unplug (edited)
Avatar
Avatar
NonaSuomy
Hmm I don't see a usb0
It might be enp2s2oui1 or other mangle of random things like that instead of usb0 too
Avatar
only seeing my two ethernet jacks (1: lo 2: laptop 3: wifi 4: dock
6:28 AM
oh after the crash I rebooted see something now
6:28 AM
6: enp0s20f0u1
Avatar
It must be that
6:31 AM
Try it
Avatar
sudo ip addr add 192.168.2.1 dev enp0s20f0u1
6:34 AM
then I ssh root@192.168.2.2 and nothing.
6:39 AM
6: enp0s20f0u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 92:3a:64:50:4a:12 brd ff:ff:ff:ff:ff:ff inet 192.168.2.1/32 scope global enp0s20f0u1 valid_lft forever preferred_lft forever
6:42 AM
Think I crashed it again by pressing the dhcp lease option under settings 😄
6:42 AM
Rebooting...
6:48 AM
Hmm under Information it shows IP address: Not available but maybe this only shows wifi...
Avatar
Avatar
NonaSuomy
Think I crashed it again by pressing the dhcp lease option under settings 😄
Don't do that It's not for that purpose
Avatar
Avatar
NonaSuomy
6: enp0s20f0u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether 92:3a:64:50:4a:12 brd ff:ff:ff:ff:ff:ff inet 192.168.2.1/32 scope global enp0s20f0u1 valid_lft forever preferred_lft forever
You're not using the right subnet mask
7:02 AM
It has to be /24
Avatar
Avatar
tux-linux
Ok, I think this time is the right time; I've gotten around about everything I've wanted to fix in the GUI, completed logging (it now also logs to /var/log/inkbox-gui.log if GUI_DEBUG flag is set to true), added support for landscape PDFs, fixed the timezone thing, it doesn't require any reboot anymore and implemented some fancy cinematic brightness if a different setting is set for a book. So I think I can release 1.9 now. Finally. Am I wrong? ^^ (@Szybet : advice requested) (edited)
for 1.9 its propably everything, if you want and there is a easy fix you can try to make the brightness slider bigger in horizontal orientation, but if no thats it
Avatar
Avatar
tux-linux
and diags GUI should come up
is this for nia a thing too?
Avatar
Avatar
tux-linux
I'd like to implement that on InkBox, but at least provide users a way to change the keys if they want
yes, changing keys is needed
8:25 AM
but... its too much
8:25 AM
its an ereader... you read books on it
Avatar
Avatar
Szybet
is this for nia a thing too?
Yes It will be in the final image
Avatar
Avatar
Szybet
for 1.9 its propably everything, if you want and there is a easy fix you can try to make the brightness slider bigger in horizontal orientation, but if no thats it
It's already too big IMO
Avatar
then thats it
Avatar
Ok thanks 👍
Avatar
Avatar
tux-linux
It has to be /24
I noticed that it auto chose that when I didnt specify it and then I deleted it and put /24 at the end and it still didn’t work.
Avatar
If you try with ifconfig?
3:00 PM
If it isn't there, install busybox and do busybox ifconfig
3:01 PM
Or maybe the net-tools package on Arch
Avatar
I don’t have ifconfig in arch Linux it’s also recommend to no longer use net tools.
Avatar
Well, if something fails, that's what I would try out
3:02 PM
ifconfig is not a monster that will eat you ;p
Avatar
I don’t see what it would do differently
3:02 PM
The ip is set on the adapter what more would need to happen
Avatar
I've never used ip dev set when trying Kobo networking
3:02 PM
So maybe it won't change But you can try
3:04 PM
If it doesn't work, it's a hardware problem on either your computer or the Kobo And I'm not sure I can help you there Are you using NetworkManager?
Avatar
8: enp0s20f0u1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 link/ether f2:d8:5f:15:d8:72 brd ff:ff:ff:ff:ff:ff inet 192.168.2.1/24 scope global enp0s20f0u1 valid_lft forever preferred_lft forever
3:06 PM
I only use systemd-networkd
Avatar
Well... It's DOWN
Avatar
good eye
Avatar
Avatar
NonaSuomy
I don’t have ifconfig in arch Linux it’s also recommend to no longer use net tools.
what 😂
Avatar
ifconfig auto-ups the interface if you set an IP
Avatar
sudo ifconfig -s enp0s20f0u5 192.168.2.10/24
3:08 PM
thats what i use
Avatar
That's why ip didn't work
Avatar
on arch linux
Avatar
Avatar
tux-linux
If it doesn't work, it's a hardware problem on either your computer or the Kobo And I'm not sure I can help you there Are you using NetworkManager?
you need disable network manager
3:09 PM
or stop connecting to this interface
Avatar
He/she doesn't use it
Avatar
so what She/he uses? (edited)
Avatar
Avatar
NonaSuomy
I only use systemd-networkd
.
Avatar
👀 good luck
3:10 PM
i need to disable nm in kde to stop getting dhcp address on the usb interface
Avatar
Avatar
tux-linux
ifconfig auto-ups the interface if you set an IP
It's really not much to switch over to doing everything with ip
3:15 PM
It's working now. Thanks for spotting that it was Down
3:15 PM
sudo ip link set dev enp0s20f0u1 up
Avatar
Avatar
Szybet
sudo ifconfig -s enp0s20f0u5 192.168.2.10/24
this is simplier but yea
3:18 PM
Arch Linux is very bleeding edge it gets you in a lot of trouble but it's fun to learn how to do a lot from scratch.
Avatar
Ok nice
Avatar
so next is password issue you said it's root for the password correct?
Avatar
yea, sure, and no. many apps still use ifconfig, it will be there for 10 next years
Avatar
Avatar
NonaSuomy
so next is password issue you said it's root for the password correct?
yes its root
Avatar
Avatar
Szybet
yea, sure, and no. many apps still use ifconfig, it will be there for 10 next years
I've never been one to be stuck in the past just because everyone does or uses something.
Avatar
i use ip too, but if it doesn't work, there a re problems i use ifconfig
Avatar
Always enjoy the bleeding edge like managing a constant puzzle.
3:22 PM
I try not to go oh it doesn't work lets go back to how it used to be. Always try to keep moving forward.
3:23 PM
In arch you usually break a lot more when you let tools manage things for you.
3:25 PM
root@192.168.2.2: Permission denied (publickey,password,keyboard-interactive).
Avatar
Avatar
NonaSuomy
I try not to go oh it doesn't work lets go back to how it used to be. Always try to keep moving forward.
lets go back and dont waste time on this
Avatar
Avatar
Szybet
lets go back and dont waste time on this
haha
3:25 PM
Some times you enjoy hitting yourself with a hammer because it feels so good when you stop.
Avatar
Avatar
NonaSuomy
Some times you enjoy hitting yourself with a hammer because it feels so good when you stop.
im not a "masochist"
Avatar
Ideally though it becomes more about a really simple system with less to go wrong. (edited)
3:29 PM
Any ideas about this? root@192.168.2.2's password: Permission denied, please try again.
3:30 PM
3:30 PM
How do you get out of this screen?
3:30 PM
Not sure how it came up
Avatar
@tux-linux its the second time a person has problems with this :/
3:31 PM
on the glo the file chooser ( its horrible anyway ) is not working
3:31 PM
it will be replaced for 2.0 i hope
Avatar
It disables all the buttons while it is up
3:32 PM
If the hardware button was a home button instead of sleep would probably solve some what
Avatar
Avatar
NonaSuomy
If the hardware button was a home button instead of sleep would probably solve some what
no no no no no
Avatar
Avatar
NonaSuomy
It disables all the buttons while it is up
its window above the buttons
Avatar
Avatar
Szybet
its window above the buttons
none of the buttons work on the screen except the ones in the file window
3:35 PM
I guess reboot it is.
3:36 PM
this needs to be fixed
Avatar
Avatar
Szybet
no no no no no
Why do you need two sleep buttons? the slider power switch puts it to sleep and the home button puts it to sleep?
Avatar
the glo has 2 psyhical buttons?
Avatar
this is not the glo
Avatar
okay, the touch
3:40 PM
the touch has?
Avatar
The Touch has the slider power switch and the home button under the screen as seen on the image above.
Avatar
oh okay
3:43 PM
then it could go to home
Avatar
@tux-linux any idea why the password of root doesn't work with the root user?
Avatar
do you have a rooted kernel
Avatar
Avatar
Szybet
no no no no no
You aren't on 1.9, it is fixed there Not as a home button, but it doesn't sleep the device
Avatar
Avatar
Szybet
do you have a rooted kernel
I don't think USBNet works without rooted kernel?
Avatar
propably
Avatar
Avatar
NonaSuomy
How do you get out of this screen?
Go in root and open rootfs.tar.xz (double click)
Avatar
arent they squashfs?...
Avatar
It's just a random file there
3:53 PM
It was used for the base of GUI rootfs
3:53 PM
(buildroot) (edited)
Avatar
Avatar
NonaSuomy
I don't think USBNet works without rooted kernel?
It only works with a rooted kernel
3:54 PM
Oh
3:54 PM
In 1.8 root SSH login wasn't enabled yet
3:54 PM
Login as user, password user
3:54 PM
su to get root
Avatar
there is ssh inthe normal kernel?
3:55 PM
It's designed to be locked down
Avatar
will try after reboot hit the file manager again...
Avatar
Avatar
tux-linux
Go in root and open rootfs.tar.xz (double click)
Do this next time The button with the book opens it
3:56 PM
You can open books with local storage search instead
Avatar
Ok thank you will try that next time.
👍 1
Avatar
Avatar
NonaSuomy
will try after reboot hit the file manager again...
Usbnet is activated roughly at the same time the ebook reader splash shows up
3:58 PM
There is a progress bar in 1.9 (edited)
🎉 1
Avatar
Avatar
tux-linux
There is a progress bar in 1.9 (edited)
Before I learned to be patient with the start up I would hit the home button on the bottom of the touch to see if it was doing anything which would instead put it to sleep haha... so that is a good change.
4:02 PM
It would be nice if the home button was a home button but maybe they removed this off of all the other units.
4:03 PM
ssh user@192.168.2.2 user@192.168.2.2's password: Welcome to InkBox! * Warning * Root filesystem is mounted read-only. Invoke `ifsctl mnt rootfs rw' to make it read-write. kobo:~$ su root Password: kobo:/#
4:03 PM
w00t!
Avatar
What would I need to do to now to make it so the device can get internet access? (edited)
4:12 PM
Avatar
um experience in cpp, c and linux
Avatar
or just add a external battery / usb wifi adapter
4:44 PM
but thats stupid
Avatar
Interesting idea never the less.
Avatar
Make an internet bridge via usb with brctl
5:07 PM
Then request a DHCP lease with the button in Settings that's designed just for that
Avatar
Avatar
NonaSuomy
It would be nice if the home button was a home button but maybe they removed this off of all the other units.
The Touch is the only model with a home button
Avatar
How do you exit netsurf?
Avatar
Top right menu File -> Quit
5:20 PM
Don't go in other menus with netsurf Can make X11 subsystem crash for no reason Just quit
Avatar
In the picture above do you see a top right menu?
Avatar
The icon with a file and a x
Avatar
Ok will try that next time.
👍 1
Avatar
Via ssh, you can do killall netsurf-gtk2
Avatar
So I added both enp0s20f0u2u2 (primary network cable to the laptop interface) to a bridge called brusb and enp0s20f0u1 to the bridge but doesn't seem to grab a lease from dhcp. (edited)
Avatar
Bridges are very finicky Maybe you can debug via serial port
5:33 PM
Sometimes they work and then they don't work for no reason
Avatar
debug this with wireshark
Avatar
Avatar
NonaSuomy
So I added both enp0s20f0u2u2 (primary network cable to the laptop interface) to a bridge called brusb and enp0s20f0u1 to the bridge but doesn't seem to grab a lease from dhcp. (edited)
kobo dhcp?
Avatar
Ok, let's get 1.9 out... now
1:30 AM
Probably the biggest release since version 1.5. There goes the changelog: 'Online library' feature for Wi-Fi-able devices Picture display support Support for landscape PDFs Wi-Fi devices: ...
1:30 AM
I will put the images online tonight or tomorrow
🥳 1
Avatar
WOOO!!
🎉 1
1:41 AM
:D
Avatar
@tux-linux Great Work!
🎉 1
Avatar
Got it working over usbnet 😲
👍 1
4:36 AM
Thanks for your help!
👍 1
4:37 AM
The adapter has two interfaces now
4:38 AM
kobo:/# ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo 2: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 82:99:3d:50:42:a0 brd ff:ff:ff:ff:ff:ff inet 192.168.2.2/24 brd 192.168.2.255 scope global usb0 inet 10.20.30.118/24 brd 10.20.30.255 scope global usb0
4:39 AM
why does it not show the IP under system info
4:39 AM
is that only looking at the ip for wifi?
Avatar
The IP is for the Wi-Fi interface
4:39 AM
You can check system report, it will display the IP for usbnet there
Avatar
system report?
Avatar
sorry
4:40 AM
you aren't on 1.9 yet
4:40 AM
i'm confused
4:41 AM
normally in 1.9 it's settings->page2->generate system report
Avatar
ah ok waiting with baited breath for the binary release...
👍 1
4:43 AM
is there a docker to compile from git?
Avatar
sysreport looks like this
4:43 AM
no there isn't
Avatar
Some weird disconnected message showed up while downloading but it’s still going fine…
Avatar
netsurf makes the vnc viewer crash for no reason sometimes
4:52 AM
doesn't happen with other apps
Avatar
ok so that’s an error message from vnc just dumping its window on top of netsurf and not netsurf?
Avatar
yes
4:56 AM
vnc viewer is qt
Avatar
What does oem nickel use for the beta browser?
5:02 AM
Hmm finished download but wasn’t sure how to close the download window tapped the percentage at the bottom left and the screen went dark
5:04 AM
Tried your killall netsurf-gtk2, inkbox is reloading now (edited)
5:11 AM
Where would netsurf default download location be?
5:16 AM
any chance you added an orientation button to 1.9?
Avatar
Avatar
NonaSuomy
any chance you added an orientation button to 1.9?
no
Avatar
Avatar
NonaSuomy
Where would netsurf default download location be?
/xorg/root/Downloads probably?
5:18 AM
or just /xorg/root
Avatar
Avatar
NonaSuomy
What does oem nickel use for the beta browser?
qtwebkit it's not possible to use it on inkbox because unsolvable build issues
😢 1
Avatar
Avatar
tux-linux
or just /xorg/root
/xorg/root you found it thank you.
👍 1
5:24 AM
In the UI redesign of 1.9 does the file book button fit on the screen now?
5:24 AM
but you can use local storage search (edited)
Avatar
any hacks to get to that xorg/root folder?
Avatar
probably not
Avatar
can you inject things into that recent menu at the top from ssh?
Avatar
yes but it won't work like what you're planning to do
5:26 AM
/data/config/08-recent_books
Avatar
maybe /opt/config if it doesn't exist
Avatar
Avatar
NonaSuomy
Click to see attachment 🖼️
it won't work because you're in the /kobo chroot while in the GUI
Avatar
Avatar
NonaSuomy
any hacks to get to that xorg/root folder?
Open KTerm scp /root/download.epub user@localhost:/tmp ssh user@localhost su mv /tmp/download.epub /data/onboard sync exit exit
5:28 AM
In 1.9 this can be narrowed down to this: scp /root/download.epub root@localhost:/data/onboard sync exit
Avatar
When I update to 1.9 will it kill my root?
5:29 AM
btw it's ready
5:53 AM
My fav feature to the update right there.
Avatar
thx
Avatar
yes, a big changelog
Avatar
What would need to be done to get cbr/cbz to render in the reader?
6:59 AM
Besides pre converting them to another format.
Avatar
Avatar
tux-linux
In 1.9 this can be narrowed down to this: scp /root/download.epub root@localhost:/data/onboard sync exit
Worked good thank you
Avatar
What is the correlation with vnc and netsurf? Like are we looking through vnc at netsurf or something? (Why does vnc dying mean netsurf no longer functions)
Avatar
Avatar
NonaSuomy
What would need to be done to get cbr/cbz to render in the reader?
adding a library to get files from a zip without upacking them, and some code to handle page changing
11:52 AM
its very easy to make, they are just images
Avatar
Avatar
NonaSuomy
What is the correlation with vnc and netsurf? Like are we looking through vnc at netsurf or something? (Why does vnc dying mean netsurf no longer functions)
Touch input in X11 is handled by a VNC viewer here
Avatar
why do you write u-boot?
2:28 PM
and will the update work for me?
2:28 PM
i dont have a recovery partition
2:29 PM
and i will need to replace the kernel to a rooted one?
2:29 PM
can i just remove u-boot and the kernel from the update?
Avatar
I will upload an image tonight
Avatar
Avatar
Szybet
and will the update work for me?
Probably
Avatar
Avatar
Szybet
and i will need to replace the kernel to a rooted one?
?
Avatar
Avatar
Szybet
can i just remove u-boot and the kernel from the update?
And this
Avatar
Why? Won't do harm
Avatar
its unneceserry, adds risk and additional writes
Avatar
Maybe But Kobo update packages always include U-Boot and kernel
Avatar
becouse they are adding uneceserry risky and additional writes to their updates (edited)
Avatar
If something goes wrong you just factory reset
Avatar
how do you factory reset when u-boot is dead
Avatar
That's then the user's fault
Avatar
sure, but we could avoid them
Avatar
If it updated with battery too low, if there was a manual shutdown during the update
5:57 PM
Also, a kernel update is required for 1.9
5:57 PM
And U-Boot too for most devices
Avatar
and for me, dd sometimes doesnt work, i have written a kernel, nothing happened, opened the device, writted it again and it worked
Avatar
Avatar
tux-linux
Also, a kernel update is required for 1.9
well sure then yes
Avatar
The update script is more reliable than you
Avatar
Avatar
tux-linux
And U-Boot too for most devices
why, what did you changed
Avatar
On dd that is
Avatar
Avatar
Szybet
why, what did you changed
Kernel load size
Avatar
Avatar
tux-linux
The update script is more reliable than you
😄 we will se
Avatar
Avatar
tux-linux
Kernel load size
oh okay, so the kernel now can be bigger?
Avatar
Well until it reaches 11.5M
5:58 PM
That's the limit of the MMC space for it
Avatar
11.5 is better than 10.5
Avatar
Maybe it's 10.5 I don't recall exactly
Avatar
Avatar
Szybet
and i will need to replace the kernel to a rooted one?
and this?
Avatar
Before U-Boot of other devices loaded 8M instead of 10 and the kernel size increased
Avatar
Avatar
Szybet
and this?
No the update script writes the root kernel if you are rooted
Avatar
nice, thanks for this!
Avatar
suprice to me, the update worked
10:14 PM
is there anything to test?
Avatar
I've still got issues with the factory images I'll put that online tonight hopefully
Avatar
Avatar
tux-linux
Touch input in X11 is handled by a VNC viewer here
Why?
Avatar
because I didn't find any other way to handle it elsewise
Avatar
can't handle it like a mouse?
Avatar
and since touch input works well in Qt, I thought why not just start a local vnc viewer and send input events to x11 via qt
Avatar
Seems convoluted to use vnc as the touch interface I would have thought x11 would already have a proper interface to accept touch input like a mouse etc.
Avatar
I would have had to develop the whole input driver Which I don't really have the skills for
Avatar
I believe in you.
1:02 AM
Can you rip it out of nickel?
Avatar
? Nickel is using Qt
Avatar
does nickel use vnc to accept touch input?
Avatar
no, it's qt Qt in InkBox doesn't use VNC touch input, it's native
Avatar
What is the chipset that it uses for touch?
Avatar
I didn't develop the platform plugin
Avatar
Avatar
NonaSuomy
What is the chipset that it uses for touch?
depends
Avatar
probably just a serial or i2c bus
Avatar
it's i2c
1:04 AM
sometimes elan touch or neonode zforce
Avatar
1. Power on the sensor. 2. Wait for sensor to assert Data Ready pin (DR). 3. Initiate 2 byte I2C read operation. Payload of this read should be EE XX where XX is the amount of bytes toread in a second I2C read operation. 4. Read XX amount of bytes (number of bytes to read is indicated by second byte of first I2C Read Operation).Now read a message called BootComplete. The message should be F0 11 40 02 00 00 63 0B 80 01 YY 81 02 03 YY 82 02 00 YY where YY is usually "00" but can have another value. This signals the sensor is now booted. 5. To enable the sensor to start sending touch notifications, do the following: a. Sending an Enable command: EE 09 40 02 02 00 65 03 81 01 00 b. Read the response. The response should be: EF 09 40 02 02 00 65 03 81 01 00 The initialization is now complete. When DR is asserted the sensor will send a touch notification or a newBootComplete. A BootComplete indicates that the sensor has restarted for some reason; Enable must then be setagain The I2C Transport Protocol is very simple and identical in both directions (Read and Write). • Byte 1: FrameStart (A synchronization byte). • Byte 2: DataSize (Contains the size of the data that will be transmitted. Please note that the DataSize >= 1.The reason being that :even if the Command Data size is zero, one byte will be transmitted containing theCommandID). • Bytes 3 - : Payload encoded in ASN.1.
Avatar
yes, touchscreens send bootcomplete signals
1:28 AM
Even has some pseudo code near the end.
Avatar
I'll see But this is not in my main goals currently Thanks for the docs (edited)
1:44 AM
Neonode Touch Sensor Module interface library for Arduino - zforce-arduino/zForceKeyboardMouse.ino at master · neonode-inc/zforce-arduino
1:45 AM
First corp company I have ever seen to offer an Arduino Sketch
1:50 AM
Neonode Touch Sensor Module interface library for Arduino - zforce-arduino/Zforce.cpp at master · neonode-inc/zforce-arduino
1:53 AM
"The Linux kernel configuration item CONFIG_TOUCHSCREEN_ZFORCE"
1:53 AM
There's many exciting Linux 3.13 kernel features already, but we have another one to talk about today
1:57 AM
Maybe just email Heiko and ask if he will port it for your inkbox. (edited)
Avatar
there isn't only zforce
2:06 AM
elan, and probably other ones in newer devices
2:06 AM
but maybe, yeah
Avatar
"the work appears to be done by MundoReader and Barnes & Noble."
2:07 AM
Maybe they will want to deploy your os to their devices as well haha 😄
2:08 AM
what is the chipset numbers for elan?
Avatar
I'm more talking about the X11 input driver not the kernel one
2:10 AM
is that what we were talking about?
Avatar
Like for the zforce the chipset is zforce nn1001
2:13 AM
should say on the plastic package if you have one of those devices
2:15 AM
once that is implimented x11 should just accept it as a mouse input.
Avatar
mouse is not the same as touch screen
2:15 AM
mouse sends relative events and touchscreen sends absolute ones
2:16 AM
I can't find it
Avatar
maybe install i2c-tools and see if it tells you
Avatar
in the kernel it just says elan-touch
Avatar
Xorg Z-Force touchscreen input driver for Kobo books - GitHub - S-trace/xorg-input-kobomultitouch: Xorg Z-Force touchscreen input driver for Kobo books
Avatar
I tried that once and had no success Maybe I should retry some time
Avatar
Did you contact Henrik Rydberg <rydberg@euromail.se>
Avatar
I will beg everyone for you.
Avatar
thanks, but you don't have to only netsurf isn't quite working
2:32 AM
you can create x11 extensions with other apps if you want
2:32 AM
Avatar
c64 emulator 😄 do you have video of that?
Avatar
no, you can try it out
2:38 AM
plug usb in -> kobox settings -> export extensions put the two files there
Avatar
do you just dump that in the .inkbox dir?
Avatar
and it will be in x11 apps
Avatar
Avatar
tux-linux
plug usb in -> kobox settings -> export extensions put the two files there
there
Avatar
Sorry was scrolled up ☺
👍 1
Avatar
What would make InkBox as smooth and quick loading as Nickel?
Avatar
disabling all signature verification (not something I want to do) uncompressing all software packages to no compression this would increase the system size from ~3.5G to ~6G so... no, sorry (edited)
Avatar
What consumes so much space?
Avatar
x11
Avatar
What things are you working on for 2.0?
Avatar
Re-doing the entire home page (recent books, abandon file chooser, etc.)
Avatar
well, I don't know much c64 things if you're trying to do a graphics demo it won't work
4:13 AM
maybe a text-based game can work
Avatar
Yeah, I wanted to do that, but vice emulator or any other possible thing didn't work for various reasons
4:15 AM
At least I got it working in text mode
Avatar
I just thought that was just text
Avatar
actually you might be right
4:15 AM
but I'm not sure it likes that so much either
Avatar
If you want more boot progress, echo true > /boot/flags/DISPLAY_DEBUG and reboot (edited)
4:27 AM
But that will consume battery, so caution
4:28 AM
Disabling KoBox speeds up the boot process a lot
Avatar
SYS 32800,123,45,6 this crashes the emu
4:39 AM
well, it was just a PoC extension
Avatar
PRINT "HELLO WORLD" worked haha
👍 1
4:40 AM
good enough.
4:42 AM
Is there a method to boot inkbox and nickel without swapping cards?
Avatar
it only exists on emmc devices and inkbox isn't intended for that
Avatar
I love playing with InkBox but when I want to actually read stuff I need to go back to Nickel and feel like eventually I'm going to break the clips off this backing.
Avatar
do you have a cover?
Avatar
yes
Avatar
you can just put it in the cover without the back
4:45 AM
in which way do you "need" to go back to Nickel?
Avatar
for CBR/CBZ and wifi/beta browser to download content on the fly.
👍 1
4:53 AM
I'll have to review as my memory is foggy but I grabbed some books and they weren't loading when I tapped them in the file manager they seemed to show up after it crashed though.
4:53 AM
epubs
Avatar
? you double-click once, not more otherwise it could create unexpected... issues like, a random loop that never ends for no reason
4:54 AM
but you should switch to local storage search, works much better
4:54 AM
just type 'epub' for example and you'll get epubs in your local storage
Avatar
PDF's are supported correct?
Avatar
yes, and image files (.png, .jpg) too
Avatar
I was trying this 145mb one think it crashed as well.
Avatar
maybe you're pushing it a bit too hard...
4:56 AM
i think if the pdf weighs < 20mb you're usually safe after that it might or might not work
Avatar
yeah, that's because some pdfs aren't respecting the standards on the location of the pages number in the file
4:57 AM
i plan on fixing that
Avatar
It loaded after the crash but when you open it it says it’s the end of the document
Avatar
'the crash', you're talking about a small ascii bomb on the screen with a qr code?
Avatar
Screen just locks
Avatar
maybe too much for the ram then
Avatar
But yeah that's basically what I have discovered so far which work in Nickel.
👍 1
5:06 AM
Unfortunately I don't feel safe leaving the back off when the rest of the fam is using it.
5:07 AM
there's a gaping hole on the left where the binding is
5:07 AM
When you just put the cover on it.
5:07 AM
Good thought though.
Avatar
Ah ok My Libra is fine in the case without the back since three months...
Avatar
Avatar
NonaSuomy
Good thought though.
IIRC, it originally came from @andi
Avatar
Avatar
tux-linux
Ah ok My Libra is fine in the case without the back since three months...
It would be fine if it was just me that uses it but little goober fingers would find their way in there while reading comics.
👍 1
5:31 AM
Maybe find something like this but a little slimmer https://www.ebay.ca/itm/313860378383?hash=item4913894f0f:g:pzsAAOSw58NiTq8N
Find many great new & used options and get the best deals for TF Micro SD To SD Card Extension Cable Adapters Flexible For Car Extender at the best online prices at eBay! Free shipping for many products!
5:40 AM
sneak it out the side and hot snot it to the back of the cover then put the case over it.
Avatar
Avatar
tux-linux
Re-doing the entire home page (recent books, abandon file chooser, etc.)
This is the most important thing
Avatar
Could inkbox run on a Sony PRS-T1?
6:15 AM
Specifications of the Sony PRS-T1. Dimensions: 110 x 173 x 8.9 mm, Weight: 164 g, SoC: Freescale i.MX508, CPU: ARM Cortex-A8, 800 MHz, RAM: 512 MB, Storage: 2 GB, Display: 6 in, E Ink Pearl, 600 x 800 pixels, Battery: 1000 mAh, Li-Ion.
Avatar
Yes but no x11
6:15 AM
Lot of hard work to port it
6:15 AM
You have one?
6:16 AM
Oh it's imx508 Sweet
Avatar
Serial terminal works?
6:17 AM
What Linux kernel version?
Avatar
"It turns out the Sony PRS-T1 runs Android 2.2. The speed of operation on the rooted PRS-T1 is pretty quick"
Avatar
Does it have a touch screen?
Avatar
yes
Avatar
Ok Well InkBox is not Android So ideally we will need to use Linux sources Or port it to mainline
6:36 AM
I wish someone made a translation layer for android apps to linux.
6:41 AM
Someone said "the kernel contains a comment in linux-2.6.35.3/drivers/usb/gadgets/fsl_udc_core.c"
Avatar
Sad when you find this old stuff and all the downloads and information is broken.
Avatar
PRS-T1 PRS-T1 run from SD card / UART recovery from broken internal flash Sony Reader Dev Corner
7:08 AM
Avatar
Someone built a Linux image for Sony devices, FWIW.
1:58 PM
I can't remember the name right now, but it's the Sony target in KOReader.
👍 1
Avatar
First getting UART to work would be nice... see the porting thread
Avatar
Avatar
NiLuJe
I can't remember the name right now, but it's the Sony target in KOReader.
Is KOReader only for Android or Linux as well?
Avatar
Does it run in InkBox?
9:09 PM
Not sure what this is in general but will leave it here http://fread.ink/
Avatar
Avatar
NonaSuomy
Does it run in InkBox?
...no? InkBox purpose is the same as KOReader's
Avatar
Oh KOReader is a full linux build as well?
Avatar
Avatar
NonaSuomy
Not sure what this is in general but will leave it here http://fread.ink/
interesting?
9:14 PM
no, its an app
Avatar
Avatar
tux-linux
...no? InkBox purpose is the same as KOReader's
What do you mean?
9:16 PM
InkBox is trying to make an ereader app like KOReader? (edited)
9:17 PM
but its an entire OS
Avatar
Is KOReader QT?
Avatar
Avatar
Szybet
but its an entire OS
it has some adventages and minuses for this approach
9:18 PM
koreader is lua thing
Avatar
Is Lua bad?
9:19 PM
Slow like said python or something?
Avatar
its good i think
Avatar
Does InkBox support lua currently?
Avatar
PRS-TUX: Linux system for Sony PRS-T* ebook readers
😍 1
Avatar
Avatar
NiLuJe
okay, so porting inkbox will be actually easy
Avatar
Avatar
NiLuJe
Great job!
Avatar
Any one running a debian/ubuntu based machine that can git clone the repo above and run the make from prstux and see if something tangible comes out? Requires docker as well.
9:03 AM
PRS-TUX: Linux system for Sony PRS-T* ebook readers
Avatar
Thats the problem?
Avatar
Did it work for you? (edited)
Avatar
Avatar
Szybet
Thats the problem?
oh, whats the problem?
Avatar
Do you have Debian/ Ubuntu /docker running?
Avatar
i could, im asking what problem did you encounter
Avatar
I would have to find a machine to generate the build
Avatar
you dont have a pc?
Avatar
Not installed with those
Avatar
just install it?
4:59 PM
you mean the OS?
Avatar
Right as to why I said I would have to find a machine
4:59 PM
Yes
Avatar
i dont see why it needs debian
5:00 PM
just build it on arch
5:00 PM
or run distrobox
Avatar
Arch becomes a mess when you try to fit the square peg in a round hole
Avatar
wtf... just build it
5:03 PM
if any error accours, then say it and we will try to help
Avatar
I’ll just build another machine.
5:05 PM
Will be less of a headache
Avatar
Avatar
Szybet
or run distrobox
👀
Avatar
Avatar
Szybet
just build it on arch
Simply just do not do that
5:21 PM
It will become a mess
5:21 PM
I always use a Debian VM for InkBox compile things
☑️ 1
5:22 PM
Only my toolchain for the Qt part is on my Gentoo PC, and I'm surprised it works
Avatar
well, i had issues with building inkbox kernel on arch, an another arch machine it worked fine
5:22 PM
so i use a debian vm too
Avatar
Avatar
Szybet
or run distrobox
but still:
Avatar
That could be a good idea, yes
Avatar
I like how nobody seems to be interested in InkBox at MR...
Avatar
Maybe its the wrong forum, not many people there are interested in linux, open source etc
6:05 PM
And inkbox isin't ready for the average person yet, but for all the fixes in 2.0 it should
6:05 PM
We should then make some "advertisements" of this project
Avatar
Hello, i&#39;ve recently installed this mod but it doesn&#39;t work. I have tried everything : i have NickelMenu with KoboLauncher and they never appeared in the first place. So i edited so...
Avatar
next to none
Avatar
well, i tryied
9:42 PM
what is the repo for kobox? i want to create a issue there too
Avatar
there isn't
9:43 PM
and it isn't the place where you should create the issue
9:43 PM
it is more related to kernel/epdc
Avatar
Is the creator alive?...
Avatar
creator of what?
Avatar
it's me...?
Avatar
okay, so how do I debug the issue on the nia :D?
Avatar
you can't
9:44 PM
I have the problem on my Libra and it just happens randomly for no reason
Avatar
whats the exact problem once more?
Avatar
the screen freezes
Avatar
and you said once about a vnc viewer in rust, how would that resolve the issue?
Avatar
vncviewer is based on qt
9:45 PM
and qt is the problem
Avatar
Avatar
tux-linux
the screen freezes
there is no more indept data?
Avatar
so the real issue is the vncviewer
Avatar
Avatar
tux-linux
and qt is the problem
from when
9:46 PM
:|
Avatar
qt breaks too when you enable X11 even if you aren't in kobox
Avatar
Avatar
Szybet
there is no more indept data?
this [FBInk] [fbink_refresh] Failed to refresh the screen!
Avatar
Avatar
tux-linux
this [FBInk] [fbink_refresh] Failed to refresh the screen!
what causes this problem?
9:47 PM
wrong writes to the e-ink?
Avatar
i said it, I don't know
Avatar
Avatar
Szybet
wrong writes to the e-ink?
no, it does it even when there are no writes
9:47 PM
it's just like "imma stop working now because it seems fun"
Avatar
Avatar
tux-linux
so the real issue is the vncviewer
how would writing another one help
Avatar
at this point, the fix would be to write a proper X11 input handler for all devices
9:48 PM
the vnc viewer only handles touch input
9:48 PM
but no
9:48 PM
it wouldn't solve the problem
9:48 PM
I believe the real one is Xorg When Xorg isn't running, qt works
Avatar
Avatar
tux-linux
this [FBInk] [fbink_refresh] Failed to refresh the screen!
like what this error even means? nope becouse nope? or just a write to the e-ink at low level refused to send
Avatar
Avatar
tux-linux
at this point, the fix would be to write a proper X11 input handler for all devices
hah...
Avatar
I don't know, but once it fails it fails forever
9:49 PM
until you relaunch the qt platform plugin
9:49 PM
for some reason
Avatar
Avatar
Szybet
hah...
but that isn't the fix
Avatar
um, and niluje said anything about this?
Avatar
it will improve kobox and make it faster, but won't solve the problem
9:50 PM
yes, he doesn't know how to solve it
Avatar
any more detail when this error accours?
9:51 PM
well, it can occur when the user triggers too many refreshes (edited)
9:51 PM
but it also occurs when there isn't any refresh
Avatar
i have one idea for this
9:52 PM
if this error accours, and im able to write something to the screen using plato's writing to the e-ink implementation, then what?
Avatar
what are you wanting to do?
Avatar
just try writing to the e-ink using plato implementation for writing to the e-ink
9:54 PM
^after the error accours
Avatar
you can do that? it doesn't fail?
Avatar
i want to test that
Avatar
try it
Avatar
will plato run oob on inkbox?...
Avatar
with a chroot, yes
9:54 PM
maybe it could run in the /kobo chroot too
9:55 PM
let me try
Avatar
you will acidentally port plato to inkbox ;p
Avatar
this is not what i want
Avatar
i know 😆
9:56 PM
will you try the idea on your libra?
Avatar
i'll try that on my glo hd
9:56 PM
i'll tell you if it works and you can try it on the nia
Avatar
i dont have now time for this really
9:56 PM
okay
10:16 PM
it kinda works
10:17 PM
it thinks it's running on a Touch
10:17 PM
but anyway
10:18 PM
cp /mnt/onboard/.adds/plato/Settings-sample.toml /mnt/onboard/.adds/plato/Settings.toml env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/mnt/onboard/.adds/plato/libs:/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib" /mnt/onboard/.adds/plato/plato touch input is messed up too
Avatar
it writes to the eink something, its important
Avatar
well, i don't know if it works with the xorg bug (edited)
Avatar
Avatar
tux-linux
cp /mnt/onboard/.adds/plato/Settings-sample.toml /mnt/onboard/.adds/plato/Settings.toml env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/mnt/onboard/.adds/plato/libs:/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib" /mnt/onboard/.adds/plato/plato touch input is messed up too
touch... its device specific, i needed to test it for the nia
Avatar
Avatar
tux-linux
well, i don't know if it works with the xorg bug (edited)
you can try it with the libra, or i will try this next week
👍 1
Avatar
anyway, that doesn't matter we are only looking for eink drawing fixes
Avatar
I would like to know if those hacky writes would not Brick the device, damage the e-ink?
10:49 PM
Ummm maybe pinging niluje?
Avatar
There has been so many on the Libra that I don't fear for that anymore ;p
Avatar
But those are diffrent
10:54 PM
Fbink refuses to do something, and then we do it anyway using some low level implementation
Avatar
Then ping him if you want
Avatar
@NiLuJe I have worries, everything is explained above
Avatar
Try the fbink cli, if it works, it's an issue with the QPA
11:07 PM
FWIW, that's the ioctl failing (i.e. the kernel telling us to gtfo) (edited)
Avatar
Avatar
NiLuJe
FWIW, that's the ioctl failing (i.e. the kernel telling us to gtfo) (edited)
Or... not. See what FBInk's verbose output says, and strace the binary for ioctls.
11:12 PM
There should be a MXCFB_SEND_UPDATE_V2 log right before, that's the actually useful bit of logging (and it's not even verbose only) (edited)
Avatar
Oh, yeah, it showed that error message too
11:13 PM
(MXC_SEND_UPDATE_V2)
Avatar
What comes after is the important part ^^
👍 1
11:14 PM
And no, you (theoretically) can't damage the screen, although given the state of the ntx epdc, never say never ;o)
Avatar
Avatar
NiLuJe
And no, you (theoretically) can't damage the screen, although given the state of the ntx epdc, never say never ;o)
Okay, thanks for the answer, i will try it
Avatar
@NonaSuomy literally booted the Touch B image on the PRS-T1 and although things didn't display correctly (but still did), the display was not damaged when booting on the Sony software after
☑️ 1
Avatar
He did it
11:16 PM
What a risky man
Avatar
It did make a weird whining sound though. It blanked the screen twice and just showed the Sony loading bar and never moved forward. I’m guessing it gets this splash loading bar from the initial boot partition on the eMMC and not from the SDCard then passes it off to the SDCard which then loads the loading bar sequence. (edited)
Avatar
IIRC, it's the same ioctls anyway
11:17 PM
(and/or the kindle ones, can't recall)
Avatar
New KoBox extension available: XBoard+Fruit-2.1 (or How-To-Lose-At-Chess)! https://www.mobileread.com/forums/showpost.php?p=4216273&postcount=70 (edited)
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
🥳 1
3:48 AM
Avatar
Now I just need to learn how to play chess 🤔
👍 1
Avatar
Soo I was able to run syncthing on the kobo with inkbox using syncthing-linux-arm-v1.19.2 , I opened the page on another machine, synced my books, everything works
8:24 PM
¯\_(ツ)_/¯
8:25 PM
it says that it doesnt synced but it actually does
Avatar
really?
8:25 PM
nice
Avatar
i think a small app where its launching it, says the ip address etc would be a cool thing (edited)
Avatar
hmm
Avatar
its too complicated to do a full app arround it, and showing the website on the kobo also will be bulky
8:30 PM
also im writing it to /kobo/mnt/onboard/onboard, but it only has 500Mb, how do i increase it?
8:30 PM
i thought it will magically inrease it when i connect usb storage, but no
Avatar
you need to dd if=/dev/zero of=/data/storage/onboard bs=1M count=number-of-M-you-want
Avatar
Avatar
Szybet
Soo I was able to run syncthing on the kobo with inkbox using syncthing-linux-arm-v1.19.2 , I opened the page on another machine, synced my books, everything works
syncing word saves, anki decks is also possible
Avatar
no easy way to increase it
Avatar
can i do this on the kobo / will my files be still there?
8:31 PM
no to both?
Avatar
yes / no
8:32 PM
okay i will sync it once more
Avatar
you can restore them afterwards
8:32 PM
make squashfs backup or tarball
Avatar
you could increase it while creating the image
8:32 PM
to the stock memory of the device
Avatar
maybe
Avatar
Love this project, I've been waiting to find something like this for years and just installed. Have one hiccup on my N905B. The file explorer doesn't resize and so I can't select the document folder when I open the reader. Anyone know a fix? Tried GUI resizing and disabling with no success. Have to reset each time.
Avatar
Double-click to open a book
8:53 PM
Or you can use the local storage search function to open books too
Avatar
This will be fixed in 2.0 with a rewrite of this part of the reader as there is absolutely no way to solve this problem
Avatar
Alight, thanks for the work around. Really appreciate your work. Great stuff m8
👍 1
Avatar
thats the most popular issue
💯 1
Avatar
Avatar
tux-linux
you need to dd if=/dev/zero of=/data/storage/onboard bs=1M count=number-of-M-you-want
no, not really
9:18 PM
kobo:/kobo/mnt/onboard/onboard# du -h /data/storage/onboard 9.8G /data/storage/onboard
Avatar
kobo:/kobo/mnt/onboard/onboard# df -h /kobo/mnt/onboard/onboard/ Filesystem Size Used Avail Use% Mounted on fuse-overlayfs 115M 68M 39M 64% /kobo/mnt/onboard/onboard
Avatar
mkfs.vfat onboard too
9:19 PM
then reboot
Avatar
mkfs.vfat /kobo/mnt/onboard/onboard ?
9:20 PM
or the image
9:20 PM
hmm
Avatar
the file itself
Avatar
now it works
9:50 PM
perfectly, no errors
👍 1
Avatar
Avatar
tux-linux
cp /mnt/onboard/.adds/plato/Settings-sample.toml /mnt/onboard/.adds/plato/Settings.toml env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/mnt/onboard/.adds/plato/libs:/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib" /mnt/onboard/.adds/plato/plato touch input is messed up too
For plato
Avatar
oh okay
12:29 AM
but look at #porting kobo nia
Avatar
Free Radical 5/3/2022 3:24 PM
Is there a way I can change the UI scaling once I’ve already set it?
Avatar
you mean the one in settings?
Avatar
Free Radical 5/3/2022 3:25 PM
I think so? Everything is a bit cramped (even in book selection)
Avatar
when you try to set it back, nothing happens?
Avatar
Free Radical 5/3/2022 3:26 PM
I think I found the setting? (I had it set to no UI scaling
3:27 PM
Not after a reset, I’m trying a reset now…
Avatar
Free Radical 5/3/2022 3:37 PM
Issue solved with a reset
Avatar
i dont understand what was the issue in the first place
Avatar
Free Radical 5/3/2022 3:38 PM
Imagine using a 16:9 on a 4:3, it felt a little like that
Avatar
Free Radical 5/3/2022 3:45 PM
Can I upload epubs to an external sd card? Or do I need to plug this thing in?
Avatar
what an external sd card? plug what?...
Avatar
Free Radical 5/3/2022 3:48 PM
Can I use a secondary sd card to store epubs or do I need to plug the kobo in directly to upload epubs
Avatar
your device has a second slot for a sd card?
Avatar
Free Radical 5/3/2022 3:48 PM
Yup
3:49 PM
Do they not usually?
3:49 PM
All of mine do
Avatar
kobo touch a b c?
Avatar
Free Radical 5/3/2022 3:49 PM
A And B
3:49 PM
i dont think that an external sd card is supported in inkbox
Avatar
Free Radical 5/3/2022 3:50 PM
Oof
Avatar
im not sure
3:50 PM
well you can implement it
Avatar
Free Radical 5/3/2022 3:50 PM
But it’s a headache and plugging it into a computer is easier?
Avatar
Free Radical 5/3/2022 3:58 PM
Am I better off adding epubs by connecting the kobo to my laptop?
Avatar
i dont understand, english is not my first language, you can add books by plugging the kobo into your computer
Avatar
Free Radical 5/3/2022 4:00 PM
Okayyy thank you!
Avatar
Avatar
Szybet
i dont understand, english is not my first language, you can add books by plugging the kobo into your computer
Free Radical 5/3/2022 4:00 PM
And don’t worry about it, you’re helping me out and I appreciate it
Avatar
Free Radical 5/4/2022 4:16 AM
Hey! How do I add books to my kobo? I tried a few ways today, no such luck
Avatar
what did you do?
Avatar
Free Radical 5/4/2022 4:16 AM
Additionally, my file manager opens up larger than the screen (I can’t leave the file manager once I open it)
Avatar
Avatar
ChuckGPT
what did you do?
Free Radical 5/4/2022 4:16 AM
I tried drag and dropping epubs
Avatar
had that same problem 2 days ago lol, you have to double click the file to add to open/add to recents
Avatar
Free Radical 5/4/2022 4:17 AM
Lol
4:17 AM
Is it really that simple?
Avatar
boss is working on fixing the fm window in the next release
Avatar
Free Radical 5/4/2022 4:17 AM
Oh sweet!
Avatar
was for me. have the B
Avatar
Free Radical 5/4/2022 4:18 AM
Same here
4:18 AM
so can I leave the FM once it’s opened?
Avatar
it should close its own once a file is opened. otherwise the page gets stuck and you have to hard reset - at least that was my experience
Avatar
Free Radical 5/4/2022 4:22 AM
Ahh yeah, I didn’t think to open a file
Avatar
Avatar
ChuckGPT
had that same problem 2 days ago lol, you have to double click the file to add to open/add to recents
Free Radical 5/4/2022 4:22 AM
Ok so my books are under /.kobo/books (a folder I made myself) is that where I should put them?
Avatar
I didn't think to double click - I could just make out the buttons off screen so I tried to press them with a cotton swab open
Avatar
Avatar
Free Radical
Ok so my books are under /.kobo/books (a folder I made myself) is that where I should put them?
should be fine, just have to double press/click the folder I think, then same for the file(s)
Avatar
Free Radical 5/4/2022 4:26 AM
Testing it out right now, but I ran into another issue I have, whenever I eject the kobo it doesn’t seem to want to lose the “usb” screen
4:28 AM
So where am I looking to find these books?
4:29 AM
(Sorry, I know I keep asking basically the same question)
Avatar
assuming all things equal it should be in /mnt/onboard/onboard/[folder/files]
Avatar
Free Radical 5/4/2022 4:33 AM
Then I suspect I did something wrong 😦
Avatar
Avatar
Free Radical
Testing it out right now, but I ran into another issue I have, whenever I eject the kobo it doesn’t seem to want to lose the “usb” screen
You need to unplug the USB cable It's written on the screen
Avatar
Avatar
tux-linux
You need to unplug the USB cable It's written on the screen
Free Radical 5/4/2022 4:33 AM
I know… it doesn’t seem to behave the way it is intended
Avatar
Avatar
ChuckGPT
should be fine, just have to double press/click the folder I think, then same for the file(s)
Yes, or use local storage search
👍 1
Avatar
Avatar
Free Radical
I know… it doesn’t seem to behave the way it is intended
You are still on 1.7
4:34 AM
Update
Avatar
Free Radical 5/4/2022 4:34 AM
Am I? I extracted the files to where you said to
Avatar
Did you click update button after that?
Avatar
Free Radical 5/4/2022 4:35 AM
OH
4:35 AM
No I did not…
Avatar
It's kind of needed ...
😆 1
Avatar
Free Radical 5/4/2022 4:35 AM
Lol
4:35 AM
Yeah I bet
4:35 AM
It’s funny, I saw the button earlier when fishing around
4:35 AM
But forgot about it
Avatar
Go into settings
4:35 AM
Second page Click on update
Avatar
Free Radical 5/4/2022 4:35 AM
Ok will do!
👍 1
Avatar
Avatar
Free Radical
Ok so my books are under /.kobo/books (a folder I made myself) is that where I should put them?
No
4:36 AM
You should put them in the root of the exported USB storage
Avatar
Free Radical 5/4/2022 4:39 AM
So I “checked for updates” none appear
Avatar
not that button
4:39 AM
"Update InkBox"
Avatar
Free Radical 5/4/2022 4:40 AM
4:41 AM
I suspect I put the files in the wrong spot?
Avatar
is there still something under onboard storage/.inkbox ?
Avatar
Free Radical 5/4/2022 4:41 AM
Yeah
Avatar
ok, unplug and reboot, the update dialog should show up again
Avatar
Avatar
Free Radical
Yeah
what something?
4:42 AM
wait
Avatar
Free Radical 5/4/2022 4:42 AM
“Rootfs.squashfs” and more
Avatar
what did you do?...
4:43 AM
how did they manage to get there?
Avatar
Free Radical 5/4/2022 4:43 AM
With endearing clumsiness?
Avatar
did you copy the .isa file or extract it?
Avatar
Free Radical 5/4/2022 4:44 AM
7zip “extract to” extract to .Inkbox
Avatar
whoops you need to copy them
Avatar
Free Radical 5/4/2022 4:44 AM
Ahhh
Avatar
remove everything there and copy .isa
Avatar
Free Radical 5/4/2022 4:55 AM
Ok copying now
4:55 AM
Almost done I think
👍 1
Avatar
don't forget to eject
Avatar
Free Radical 5/4/2022 4:56 AM
will do
👍 1
5:02 AM
updating!
5:02 AM
thanks
👍 1
Avatar
well we need better instruction how to update ;D
Avatar
Avatar
tux-linux
cp /mnt/onboard/.adds/plato/Settings-sample.toml /mnt/onboard/.adds/plato/Settings.toml env LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/mnt/onboard/.adds/plato/libs:/mnt/onboard/.adds/qt-linux-5.15.2-kobo/lib" /mnt/onboard/.adds/plato/plato touch input is messed up too
it doesnt see the toml file anyway?...
11:12 PM
weird
Avatar
Then put it in root of the chroot
11:14 PM
Idk why but it worked for me
Avatar
Avatar
tux-linux
Then put it in root of the chroot
still nothing really
Avatar
try to strace it
Avatar
kobo:/plato# env RUST_BACKTRACE=full ./plato thread 'main' panicked at 'called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/library.rs:62:42 stack backtrace: 0: 0x54f16e70 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hbc32816bedd649a5 1: 0x54f4349c - <unknown> 2: 0x54f10998 - <unknown> 3: 0x54f1981c - <unknown> 4: 0x54f193f0 - <unknown> 5: 0x54f19ffc - <unknown> 6: 0x54f19c2c - <unknown> 7: 0x54f173f0 - <unknown> 8: 0x54f199c0 - <unknown> 9: 0x54b8e3a8 - <unknown> 10: 0x54b8e47c - <unknown> 11: 0x54c416fc - <unknown> 12: 0x54dd34d0 - <unknown> 13: 0x54d7933c - <unknown> 14: 0x54d4c7f8 - <unknown> 15: 0x54f16508 - <unknown> 16: 0x54d37024 - main 17: 0x75cf8d3c - __libc_start_main
Avatar
It's maybe missing some libs
11:18 PM
I had this error too but don't remember what was needed to fix it
Avatar
could you look up history?
11:19 PM
it should be saved in chroot
Avatar
It wasn't in the chroot iirc
11:19 PM
Maybe I'll check later when I have some time
Avatar
Just Strace It (TM)
Avatar
I built the emulator using docker, when i try to run it is says: thread &#39;main&#39; panicked at &#39;called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, messag...
11:22 PM
i had this issue with plato emulator
11:22 PM
i still dont know how to solve it xD
11:27 PM
mkdir /mnt/sd to solve this
11:27 PM
Can't update [0, 0, 758, 1024]: can't send framebuffer update: EPERM: Operation not permitted. the same error (edited)
11:27 PM
no luck with that
Avatar
Avatar
Szybet
mkdir /mnt/sd to solve this
oh yes it was that
11:28 PM
don't know why it requires it that much
Avatar
https://github.com/93null/tauri-web-browser maybe this browser? it is lightweight
Tauri/Rust minimal proof-of-concept for rendering iframe-prohibited content and performing browser automation. - GitHub - 93null/tauri-web-browser: Tauri/Rust minimal proof-of-concept for rendering...
Avatar
Did you see what back-end it uses?!
5:18 PM
That's probably not compilable and everything but lightweight
😂 1
Avatar
yea, rust
Avatar
Microsoft Edge webdriver
5:19 PM
But rust would also be difficult to compile
Avatar
Avatar
tux-linux
But rust would also be difficult to compile
plato
Avatar
Avatar
tux-linux
Microsoft Edge webdriver
i didn't saw this D:
Avatar
Hello   Here is my issue in brief I am trying to integrate chromium browser to my Yocto build using open embedded recipe from meta-browser layer, but my build fails with following error message ERROR: The recipe imx-gpu-viv is trying to install files into a shared area when those files already exi...
5:25 PM
No iMX.5 though… maybe not someone saying mx53 they were trying to compile for (edited)
5:31 PM
Yocto Project™ | An open source collaboration project of the Linux Foundation The Yocto Project™ is an open source collaboration project that helps developers create custom Linux-based systems regardless of the hardware architecture. * If you are interested in membership, please visit https://www.yoctoproject.org/how-to-join/ * If you are inte...
5:33 PM
Avatar
Hello my friends!
9:22 AM
I just successfully got inkbox on my kobo
🥳 3
Avatar
Avatar
luːk
Hello my friends!
Which device did you install on?
Avatar
Avatar
NonaSuomy
Which device did you install on?
Kobo Nia!
Avatar
WOW!
😂 1
Avatar
Unfortunately i've discovered it is extremely laggy 😦
Avatar
you are the 4 person on the internet that uses this device
Avatar
Avatar
luːk
Unfortunately i've discovered it is extremely laggy 😦
i have a kobo nia, even ported inkbox to it. what is laggy exactly?
12:01 AM
and what version did you install (edited)
Avatar
Avatar
Szybet
i have a kobo nia, even ported inkbox to it. what is laggy exactly?
I have version 1.9 and what seems to be laggy is loading up the reader, transition between sleeping and not-sleeping. and the X11 subsystem
Avatar
X11 is laggy becouse of the cpu, we can't do anything about it ( wait, isint X11 freezing after some time? ) loading up? you mean after reboot? going to sleep is slow, it will be completly rewritten for 2.0. If you want, i already done a better version you can install on your device (edited)
Avatar
Avatar
Szybet
X11 is laggy becouse of the cpu, we can't do anything about it ( wait, isint X11 freezing after some time? ) loading up? you mean after reboot? going to sleep is slow, it will be completly rewritten for 2.0. If you want, i already done a better version you can install on your device (edited)
I mean after reboot
Avatar
its becouse its loading X11, its heavy
Avatar
I'd love to install a better version on my device 🙂
Avatar
do you have a rooted device?
Avatar
I understand, shall live with X11 being slow
12:05 AM
Im unsure!
Avatar
so propably not
Avatar
I just flashed the firmware onto a sd card
Avatar
so you need to root it
12:05 AM
there is propably a guide on the wiki
Avatar
I shall look for a guide
Avatar
( wait, isint X11 freezing after some time? )
12:06 AM
do you encounter freezes?
Avatar
and you need to reboot?
12:06 AM
thats the most frustrating
Avatar
we cant do anything about it, we haven't figured what is causing this bug, its affecting nia and libra devices
Avatar
Oh gotcha!
12:08 AM
I guess i should expect this for a experimental OS
Avatar
you can avoid the issue ( not in 100% ) by enabling wifi, plugging it into power source and setting cpu governor to performance
12:08 AM
but it would be best to disable x11
Avatar
Avatar
luːk
I guess i should expect this for a experimental OS
not really experimental, X11 works on other devices fine
👍 1
12:10 AM
@tux-linux look! the 4 person on the internet that is using kobo nia, and the second using inkbox
Avatar
Avatar
Szybet
not really experimental, X11 works on other devices fine
I meant because I had chosen to use a different OS by downloading it off the internet :p
Avatar
the stock one doesn't have x11 at all ;p
Avatar
Im guessing kobo would have a massive team ironing out bugs
12:11 AM
true!
Avatar
Avatar
luːk
Im guessing kobo would have a massive team ironing out bugs
yea, for inkbox its only one person, and 3 persons helping a bit
Avatar
I shall disable x11 for the moment. would there be an app that can access wikipedia? I have a wikipedia addiction you see
Avatar
1. You can write your own qt app 2. You can fork an existing app and adjust it for inkbox 3. just download pdfs of wikipedia
Avatar
Avatar
Szybet
1. You can write your own qt app 2. You can fork an existing app and adjust it for inkbox 3. just download pdfs of wikipedia
So for now i have no knowledge of what qt nor how to fork. but im happy to explore. the magic of open-source is that i can learn and fiddle
12:16 AM
on koreader, they had the ability to load up a wiki epub on any work
12:17 AM
An ebook reader application supporting PDF, DjVu, EPUB, FB2 and many more formats, running on Cervantes, Kindle, Kobo, PocketBook and Android devices - Wikipedia support · koreader/koreader Wiki
Avatar
Avatar
luːk
So for now i have no knowledge of what qt nor how to fork. but im happy to explore. the magic of open-source is that i can learn and fiddle
Qt is easy to learn... is easy to use, i have written an app within a month
Avatar
oh nifty!
Avatar
oh, i think there is something like that in inkbox
12:18 AM
not sure
Avatar
thats okay! i shall focus on school for a moment!
12:18 AM
I shall be back to discuss 🙂
Avatar
Avatar
Szybet
Qt is easy to learn... is easy to use, i have written an app within a month
*Qt is easy to learn, hard to use
Avatar
Avatar
Szybet
oh, i think there is something like that in inkbox
? (edited)
Avatar
Avatar
luːk
I shall disable x11 for the moment. would there be an app that can access wikipedia? I have a wikipedia addiction you see
web browser (netsurf, in X11) (edited)
Avatar
Avatar
Szybet
@tux-linux look! the 4 person on the internet that is using kobo nia, and the second using inkbox
the second using inkbox? no, there are more people than that
Avatar
Avatar
luːk
I shall look for a guide
Reboot into diagnostics Reset options -> Reset as root
Avatar
Avatar
tux-linux
Reboot into diagnostics Reset options -> Reset as root
Im unsure how to reboot into diagnostics, to be quite honest
Avatar
reboot the device immediately after the light starts blinking, press the power button multiple times and wait (edited)
5:07 AM
make a backup of your books or anything you have on the device, it will be erased
Avatar
okay! Is 5 times acceptable as multiple times?
Avatar
yes
5:07 AM
you could also do it one time, but it would decrease the chances of the device actually recognizing it
Avatar
Sweet it worked, im loading diagnostics
👍 1
5:10 AM
Do you think the Onboard storage size would be talking about the size of the sdcard?
Avatar
no, the space you have for storing your books
Avatar
Im unsure what space i have allocated for books, would you say 64 MiB is reasonable? (edited)
Avatar
no, it won't be enough for updates
5:12 AM
put at least 256
5:12 AM
maybe 128m would work, but I'd rather take 256
5:12 AM
I'll 256 a shot. thanks for being clear and patient with me.
Avatar
np
5:15 AM
note: reset can take from 10 to 20 mins
Avatar
"Restoring", sweet!
👍 1
Avatar
so don't think it's not doing anything
Avatar
I shall be patient
👍 1
5:17 AM
Is there a good strategy to reduce the amount of glitching that happens. Sometimes things freeze and stay half printed on the screen. For example, the brightness menu is stuck in the middle of the screen.
Avatar
what do you mean, stuck in the middle of the screen?
Avatar
It looks like its half glitched in the middle of the screen. As if it didnt want to fully disappear after closing.
5:19 AM
It happens with the file explorer menu
5:19 AM
too
Avatar
please post a picture once the device has finished restoring
Avatar
For sure!
Avatar
@Szybet , you should know about this?...
Avatar
It no longer says "restoring", it has now been stuck on 'InkBox' in big letters.
5:36 AM
Is that something i should be patient for too?
Avatar
it means it has finished
5:37 AM
you can start it (power it on) (edited)
Avatar
Out of curiosity does using balenaEtcher remove the original kobo nia sd image?
6:19 AM
Im concerned if I ever feel like i want to change back, i cant.
Avatar
what do you mean?
Avatar
I am to understand when I flashed the "InkBox OS" to my SD card it put a new OS onto the sim card. Im curious to know if I can still switch back and forth from the Original OS image and the InkBox OS?
Avatar
If you did backup your origninal SD card, yes
6:54 AM
Otherwise, also yes, but it's more difficult
Avatar
I did not back it up :/ Im glad I didnt brick my device 🙂
6:56 AM
Would I have to dig through the files to recover the recovery partition?
Avatar
you can't, you erased it
Avatar
you need to request a sd image for the nia at MR
Avatar
I see!
6:59 AM
Thats okay, I am satisfied with InkBox. I will make it more user friendly for myself, Szybet has a fix for the frigid transition between sleeping and not-sleeping
Avatar
Avatar
tux-linux
@Szybet , you should know about this?...
I think he is meaning how e-ink works, that it doesnt refrrsh in 100% and the old window is visible a bit Maybe, a photo explaining that would be nice
Avatar
I shall take a photo when It occurs 🙂
7:04 AM
Also I have rooted my device!
Avatar
Avatar
tux-linux
you need to request a sd image for the nia at MR
I can provide it if its really needed, good that the screen works for you with mine waveshare Still this was very stupid by not backing it up...
Avatar
Avatar
Szybet
I can provide it if its really needed, good that the screen works for you with mine waveshare Still this was very stupid by not backing it up...
*waveform, but yes
Avatar
Avatar
luːk
Also I have rooted my device!
Do you "can into linux" and how much?
Avatar
Avatar
tux-linux
*waveform, but yes
Yes
Avatar
Is there risks to sharing SD Images?
Avatar
A bit
😔 1
Avatar
I see. Also, I'm unsure what you mean by "can into linux" so I would I do not.
7:10 AM
Im happy to research, if its a researchable thing.
Avatar
Can use linux, the CLI, etc
Avatar
I can a small bit! I'm not super knowledgeable by all means.
7:12 AM
I've just played around with it through a VM and i ssh'd in.
7:12 AM
thats all
Avatar
Avatar
luːk
Is there risks to sharing SD Images?
Also, @tux-linux did you erased mine nickel device ID from the image?
Avatar
yes inkbox overwrites it
7:13 AM
and I already did that before too
Avatar
Good, thanks
👍 1
Avatar
Avatar
luːk
thats all
Well okay, do you have a machinę with linux on it?
Avatar
Avatar
Szybet
Well okay, do you have a machinę with linux on it?
I shall check if i still have it downloaded!
7:17 AM
I have it downloaded! Though i shall reset the user passwd swifty.
Avatar
Get a working one and launch it, it can be a vm
Avatar
also for the nia, if you try put it to slepp, but touch the screen will it go back to menu?
Avatar
Avatar
tux-linux
? (edited)
word searching
Avatar
Avatar
tux-linux
the second using inkbox? no, there are more people than that
i mean with the nia
👍 1
Avatar
Avatar
Szybet
word searching
It's not really Wikipedia...
Avatar
but its similar (edited)
Avatar
Avatar
Szybet
also for the nia, if you try put it to slepp, but touch the screen will it go back to menu?
I shall check, I had dissapeared last night.
Avatar
Avatar
Szybet
also for the nia, if you try put it to slepp, but touch the screen will it go back to menu?
No it does not go back to the menu when its put to sleep
Avatar
If you touch it instantly, all the time?
Avatar
Nope, it just stays on "sleeping"
Avatar
Avatar
Szybet
Get a working one and launch it, it can be a vm
Also i got my linux vm machine working!
1:22 AM
I couldnt find the vhdx file
Avatar
@tux-linux are you able to add a second loading boot animation? The Sony first does the loading bar then it shows a rotational arrow circle. Not sure what it's doing between your boot animation and the home screen showing up but still takes some questionable time where you are unsure if the device is just locked up or what. (edited)
Avatar
Avatar
luːk
Nope, it just stays on "sleeping"
weird... @tux-linux do you see it?
8:11 AM
maybe my unit is broken?
Avatar
Avatar
luːk
Also i got my linux vm machine working!
install nano,wget, unzip, curl, git, sshfs on it
Avatar
Avatar
Szybet
maybe my unit is broken?
Raycast [THCoH] 5/10/2022 8:12 AM
Why don't you try reinstalling stuff?
8:12 AM
Use a faster sdcard while you at it
Avatar
Avatar
Raycast [THCoH]
Why don't you try reinstalling stuff?
i did this so many times that the sd card is propably broken
Avatar
Raycast [THCoH] 5/10/2022 8:13 AM
A faster sdcard made the menus load much faster
Avatar
Also i did the port for the nia... so
Avatar
Avatar
Raycast [THCoH]
A faster sdcard made the menus load much faster
interesting
Avatar
Raycast [THCoH] 5/10/2022 8:13 AM
You did?
8:14 AM
Nice
8:14 AM
you have a nia too?
Avatar
Raycast [THCoH] 5/10/2022 8:14 AM
Yep
Avatar
can you test / tell me those things? 1. With x11 enabled, does it freeze sometimes? 2. when you go to sleep and touch the screen, will it go back from sleep? 3. battery is worse on inkbox propably? 4. how did you open the nia? with what tool?
Avatar
Raycast [THCoH] 5/10/2022 8:20 AM
1. No problems with freezing, only need to put it in standby while loading kobox and then get it out of standby cuz otherwise loading takes longer I guess 2. No 3. Battery usage sucks, used about 5% in around 10 minutes I guess 4. A plastic card from one of the stores near my house (I'll send a picture)
8:20 AM
Avatar
1. w h a t 2. wtf 3. yea this needs a fix/ 4. cool way
8:21 AM
how much did you used x11?
Avatar
Raycast [THCoH] 5/10/2022 8:21 AM
A bit
8:21 AM
Imma go to school now
Avatar
test it more if you can
8:21 AM
sure
Avatar
Raycast [THCoH] 5/10/2022 8:21 AM
Sure
8:22 AM
Need to make a clean installation first tho
8:22 AM
I wiped my SD cuz I wanted to compare the performance of the original os and inkbox
Avatar
Avatar
Szybet
weird... @tux-linux do you see it?
It's just doing what it's supposed to do
Avatar
so what is wrong with my nia?
Avatar
The x11 sleep/wake fix works on the Libra too; I think I mentioned it earlier. You should try it on your Nia
Avatar
which one?
1:00 PM
what?
Avatar
Avatar
Szybet
so what is wrong with my nia?
Probably the SD card, can't see anything else
Avatar
w h a t?
Avatar
Avatar
Szybet
which one?
When it freezes, put it to sleep Then wake it up
Avatar
the sd card is broken, so the screen will wake up when touched ( only when going to sleep )
1:01 PM
i already tryied that... 3 month ago
Avatar
Idk, corrupted libs or something then
Avatar
i flashed the image you made
1:02 PM
i can make badblocks test on the sd card ._ .
Avatar
You should
Avatar
it would show errors if anything was wrong
Avatar
Maybe he tested it while plugged in or something
Avatar
it was happening to me even with this
1:06 PM
but with less frequency
1:10 PM
I've successfully installed Debian Jessie (and previously Ubuntu 13.04) on my Kobo Touch e-book reader. Almost all apps are running (games, utils, etc). To do it I needed to: repartition original SD card (I replaced it with bigger one) make following changes in kernel's source code: for eInk
Avatar
Yes?
Avatar
just a interesting link
👍 1
Avatar
An Android web browser based on webview, which is specialized for E-Ink device. - GitHub - plateaukao/browser: An Android web browser based on webview, which is specialized for E-Ink device.
11:18 PM
You starred it
11:18 PM
everything fine but:
11:18 PM
11:18 PM
crap
11:18 PM
such a cool project
Avatar
Avatar
Szybet
You starred it
Yes, it was not to implement it in InkBox Just a cool thing out there
Avatar
kinda sad that it will be not ;/
Avatar
It's for Android in the first place, so no
Avatar
Avatar
Szybet
install nano,wget, unzip, curl, git, sshfs on it
Alright! shall do
Avatar
Just installing sshfs and we should be all sweet. Done (edited)
12:40 AM
im not familiar with using curl or sshfs, though im sure using the manual i should be good.
4:24 AM
“Kotlin/Native is primarily designed to allow compilation for platforms on which virtual machines are not desirable or possible, such as embedded devices or iOS. It is ideal for situations when a developer needs to produce a self-contained program that does not require an additional runtime or virtual machine.”
Avatar
i dont think it will work
Avatar
Raycast [THCoH] 5/11/2022 8:10 AM
It won't work
8:10 AM
Cuz no system WebView
8:11 AM
That's a android thing
Avatar
that too
Avatar
Raycast [THCoH] 5/11/2022 8:11 AM
Still waiting for a doom port
8:12 AM
Or maybe even dosbox if possible
Avatar
you can do it
8:14 AM
you know
Avatar
Raycast [THCoH] 5/11/2022 8:15 AM
I indeed know
8:15 AM
But I'm lazy
Avatar
Avatar
Raycast [THCoH]
Still waiting for a doom port
This has the lowest priority ever Don't expect things soon...
Avatar
Avatar
Raycast [THCoH]
Cuz no system WebView
One of the most common use case in native mobile apps development is sending and receiving data from WebView to native and vice versa…
Avatar
What is the problem with webkit on the kobo?
3:36 PM
That it doesnt work
Avatar
The only problem is always the limitation of peoples mind to complete something. (edited)
3:40 PM
They will always find a million ways why they can't do something instead of just doing the work and making it happen. Alas time constraints and priorities kills everything indefinitely like entropy.
Avatar
Or glibc is too old
3:42 PM
:p
3:42 PM
But seriously?
Avatar
If you had all the time in the world you could backport anything to your glibc version 😄
Avatar
So to port webkit to kobo we need to find a way to not die from old age
😂 2
3:46 PM
🍞
Avatar
Please let me know if you succeed with the second part of that statement.
3:52 PM
Maybe just try to make a stupid simple implementation of it. Grab one of those quick examples and see what happens.
3:54 PM
All you need is a box to type a url then puke out a page.
3:55 PM
Walk the webkit version backwards until you find one that works.
3:58 PM
rip that apart then bump the webkit version forward until it breaks.
3:59 PM
Says Webkit-5.0.328
Avatar
Avatar
Szybet
Or glibc is too old
WebKit will work but only on X11 AFAIK and it has outdated web standards, which make most websites unusable, like in Nickel built-in browser
5:24 PM
It has been replaced by Qt WebEngine But that requires higher glibc=>higher kernel
5:27 PM
It also doesn't work on newer devices because of the hardware bug we talked about earlier
5:28 PM
I'm still trying to compile pale Moon, got some compile errors, hopefully I'll be able to fix that soon
Avatar
What does that browser use that you already have running?
Avatar
What do you mean?
5:32 PM
Pale Moon worked on a Debian chroot with higher glibc, but that only works on devices with kernel >4.1.15 So I'm trying to compile it for musl/Alpine with a working setup
Avatar
Raycast [THCoH] 5/11/2022 7:23 PM
Isn't running on Ereader hardware 0/10
Avatar
Raycast [THCoH] 5/11/2022 7:23 PM
Runs on Ereader hardware 10/10
Avatar
kobo:~# uname -a Linux kobo 3.0.35-inkbox #1 PREEMPT Thu May 12 00:57:03 EDT 2022 armv7l GNU/Linux kobo:~# node Welcome to Node.js v18.1.0. Type ".help" for more information. > .help .break Sometimes you get stuck, this gets you out .clear Alias for .break .editor Enter editor mode .exit Exit the REPL .help Print this help message .load Load JS from a file into the REPL session .save Save all evaluated commands in this REPL session to a file Press Ctrl+C to abort current expression, Ctrl+D to exit the REPL > Yay, node.js works on InkBox OS (edited)
🥳 1
Avatar
I don’t know if this will help you but someone said that most ereaders and embedded processor Linux builds don’t know to turn on iCache says it really speeds up booting for what it’s worth.
7:24 AM
i may stand for instruction… cache
Avatar
Avatar
tux-linux
Click to see attachment 🖼️
Ascii art snake very nice!
1:37 PM
Does it work in 2.6?
Avatar
what can we run with node?
Avatar
Everything
Avatar
i dont use node even on my main pc
1:37 PM
so?
1:37 PM
everything i know written with node is too heavy
Avatar
What do you know that is written in node?
Avatar
the only app i know ( and use ) that uses node is joplin (edited)
1:39 PM
well except browsers, maybe they use it
Avatar
Avatar
NonaSuomy
Does it work in 2.6?
it should (edited)
Avatar
And what do you plan to do with it?
Avatar
Check Epub-cover-extractor 1.0.3 package - Last release 1.0.3 with MIT licence at our NPM packages aggregator and search engine.
Avatar
I hope it will be not launched every inkbox launch
Avatar
No, I plan to readahead on it or something
Avatar
I will also add git in the rootfs since npm needs it
Avatar
Hey @Szybet, do you notice your nia having a really short battery life when using this OS?
Avatar
Yes, he's planning to fix it
Avatar
Oh sweet! I kept getting a warning saying that the device is incredibly low, and that i need to charge ASAP to avoid damage 😬
4:00 AM
I'll be a patient lad, with this one.
4:00 AM
Thanks for letting me know.
Avatar
Avatar
luːk
Oh sweet! I kept getting a warning saying that the device is incredibly low, and that i need to charge ASAP to avoid damage 😬
Ok it went that bad
4:00 AM
It discharges that fast?
4:01 AM
Theoretically if you don't power off before the battery hits 0% the device may be bricked forever
Avatar
It sure does! and I'm not even using it (as im finding it laggy). Its just in idle position, and after a couple days it leaks all the way to zero.
Avatar
Avatar
tux-linux
Theoretically if you don't power off before the battery hits 0% the device may be bricked forever
fuck.
Avatar
Well, forever minus powering it with 3.3V serial and USB, it can work
4:02 AM
But it's not straightforward
Avatar
Avatar
luːk
It sure does! and I'm not even using it (as im finding it laggy). Its just in idle position, and after a couple days it leaks all the way to zero.
No sleep mode?
Avatar
Avatar
tux-linux
No sleep mode?
Yeah it has been sitting in sleep mode
Avatar
It's that laggy?
Avatar
Yeah, i find myself waiting more than actually reading 😦
4:10 AM
The things that I've noticed being the most laggy is the reader (file manager), settings, internet connection, sleep transition and book configurations (like, font size and other settings). I dont want to rant about my issues but more give you an insight to help with development.
👍 1
Avatar
Avatar
tux-linux
Theoretically if you don't power off before the battery hits 0% the device may be bricked forever
OH damn
Avatar
it happened with my Touch C but it is possible to power it on with a multimeter, 3.3vcc and an USB cable somehow
Avatar
epub-parser node.js extension working on the Kobo! (edited)
🤩 1
Avatar
You can't just scrape that out with sh script?
6:34 AM
or it's some kind of encrypted format or something
Avatar
It's REALLY complicated You'd have to do some serious regex that would only work on certain books and in certain circumstances
Avatar
Avatar
tux-linux
Theoretically if you don't power off before the battery hits 0% the device may be bricked forever
What the fuck
6:35 AM
What
Avatar
Avatar
luːk
Hey @Szybet, do you notice your nia having a really short battery life when using this OS?
It is, but first its not that bad and i will fix it
👍 1
Avatar
it was almost true on my touch; don't know about the nia
Avatar
But why
Avatar
Do I look like I know?
6:36 AM
;p
Avatar
Avatar
Szybet
It is, but first its not that bad and i will fix it
Sadly i cant write the sleep deamon
6:37 AM
My only quess is that the battery: 1 doesnt charge becouse the controller is to weak on the kobo 2 it locked himself up
6:37 AM
Can you measure the voltage on the battery?
6:38 AM
With a multimeter
Avatar
My theory was:
  • Not enough power to power the PMIC to charge it when USB is connected
  • Not enough power to power the PMIC to actually power on the device when USB is connected
When bursted with USB+3.3V it finally powers up (also half-frying my rpi, but a reboot fixes it)
(edited)
Avatar
Well frying only the 3.3 regulator on the pi (edited)
Avatar
Avatar
Szybet
With a multimeter
Not on the battery On the serial ports, the voltages with USB initially plugged in are about 1.8V When I give it a burst of 3.3V via VCC, it has enough energy to power on and it powers on, serial ports stay at 3.3V
Avatar
Some times with lithium ion batteries they just take a really long time on the charger to fix when they go to zero
6:39 AM
I've had that before
Avatar
that one is just dead...
Avatar
Can you just measure the voltage on the battery?
Avatar
Just leave them overnight and the next day the battery randomly works again.
Avatar
Avatar
NonaSuomy
Some times with lithium ion batteries they just take a really long time on the charger to fix when they go to zero
This too
Avatar
Avatar
NonaSuomy
Just leave them overnight and the next day the battery randomly works again.
I must have left it a week
Avatar
ok shot in the dark
Avatar
Avatar
Szybet
Can you just measure the voltage on the battery?
can't right now, sorry maybe tomorrow really late here
6:41 AM
Don't make a short, you can even start a fire with it
Avatar
i must have made it more than 30 times and nothing
Avatar
I mean while measuring the voltage
6:42 AM
ok
Avatar
do I add python in the main rootfs and get a 99.05MB one or I don't and I get a 87MB one?
7:00 AM
Python will be removed from inkbox
Avatar
hm, I guess node can do most of the stuff python would be tailored for, if not even better
7:01 AM
I can accept node but not python
7:01 AM
How much space takes it?
7:01 AM
( node )
7:02 AM
Can' you add it t p4? P3 is already too small
Avatar
it's about 14M
Avatar
Add it to p4
7:03 AM
it's not upgradable via the update.sh script
Avatar
Installing some packages on p3 is already hard
Avatar
Avatar
tux-linux
it's not upgradable via the update.sh script
Why
Avatar
because...? a year ago I did not think I would have come to install system binaries into an user data partition (edited)
7:03 AM
even if I added it now it would cause a problem
Avatar
You already have Qt on p4
Avatar
yes, it's only update.isa that is updated
Avatar
And why cant you include node there
Avatar
because first all things in update.isa are mounted in a chroot second, it would make no sense
Avatar
Avatar
Szybet
Installing some packages on p3 is already hard
maybe a good solution would be to allow a root filesystem to be mounted via nfs on boot
Avatar
Avatar
tux-linux
because first all things in update.isa are mounted in a chroot second, it would make no sense
Why do you need node on the main system
Avatar
to extract epub covers, but also for other things in the future, it might be useful
Avatar
Avatar
tux-linux
maybe a good solution would be to allow a root filesystem to be mounted via nfs on boot
Yes, this makes more sense
Avatar
like a debug dev server via http, etc.
Avatar
It can be done via chroot
7:07 AM
Pushing everything to p3 when it has no space is not a good idea
Avatar
Avatar
tux-linux
maybe a good solution would be to allow a root filesystem to be mounted via nfs on boot
Thats a good compromise
Avatar
without python, rootfs is at 87.59mb
7:08 AM
that's 336M of compressed data
7:09 AM
node binary is 67M but when compressed it amounts to ~19M
Avatar
Avatar
Szybet
Thats a good compromise
Well okay but this could be good for the future
Avatar
yes maybe you could implement it
Avatar
or maybe I can and you do the sleep thing
Avatar
It doesnt sound hard but i didn't did somethine like that before
Avatar
Avatar
tux-linux
or maybe I can and you do the sleep thing
Yes, i want to write it anyway
Avatar
the power management daemon is way harder than rootfs mounting via nfs
Avatar
Its just asynchronic script written in cpp right?
Avatar
Well, ok, you can write it:
  • In CPP/Go/C/some compiled language; needs to be lightweight
  • Commented code (I'm not good at this, but anyways), or at least, functions that are clear and/or make sense (not good at this either haha)
  • Needs to follow current sleep splashes and design guidelines
  • Needs to handle critical battery alerts, to replace battery_watchdog (splashes for those are in /etc/images)
  • Needs to handle idle sleep
  • Needs to handle Wi-Fi modules loading/unloading on-demand, ideally without kernel panics hehe
(edited)
7:16 AM
I will follow the development and suggest changes if I see something useful to add (edited)
Avatar
Sure
👍 1
7:16 AM
I will try to write in cpp but if i get angry i will use rust
Avatar
rust is not really something you can use on alpine (edited)
7:16 AM
it isn't in the package repositories
Avatar
How do i show alerts?
Avatar
so you have to build it from source...
7:17 AM
fbink -g file=/etc/images/n306-battery_critical.png
7:17 AM
c.f. /etc/init.d/battery_watchdog (edited)
Avatar
Avatar
tux-linux
fbink -g file=/etc/images/n306-battery_critical.png
It could be overwritten by the GUI by accident
Avatar
I prevented that hehe
7:17 AM
rm /dev/fb0
Avatar
Avatar
tux-linux
so you have to build it from source...
I will handle this. Its easier than cpp really
Avatar
Avatar
tux-linux
I prevented that hehe
XD but then it will not be able to refresh the screen
Avatar
it's fine, it's going to power off after...
Avatar
BT_LEVEL=$(cat "${SYSFS_PATH}/capacity") if [ ${BT_LEVEL} -le 5 ]; then "${FBINK}" -k -f -q sleep 0.5 "${FBINK}" -k -f -q sleep 0.5 "${FBINK}" -q -g file="${IMAGES_PATH}/${DEVICE}-battery_critical.png" sleep 0.5 "${FBINK}" -q -s -f # Prevent other processes from printing over what we just showed on the screen rm -f /dev/fb0 /sbin/poweroff no_splash
7:21 AM
So I will implement rootfs nfs mount at boot and you can do the sleep daemon
7:22 AM
Actually maybe node would be something half-great for that job Since it's based on async events
7:22 AM
But probably too slow as the initial interpreter bringup takes about 30s After that, it's fast
Avatar
OH god 30 seconda
Avatar
Well, it's 1x30s Average launch time after that is 1-2s
Avatar
Avatar
Szybet
It is, but first its not that bad and i will fix it
I appreciate your dedication.
😄 1
Avatar
Is there logs i can snapshot to help with debugging?
Avatar
Help in what specificly?
Avatar
Perhaps to help with identification of what causes my device to lag and lose battery.
Avatar
There are propably ways in linux to measure that
11:26 AM
What lag? The x11 one?
Avatar
Re: dead batteries
5:18 PM
A night in a freezer was known to jolt dead Kindles awake back in the day
Avatar
Interesting
Avatar
Just, don't forget it in there, and give it time to warm up to avoid condensation
👍 1
5:19 PM
(And, yeah, keeping it plugged to a real DCP charger for days after that) (edited)
👍 1
Avatar
Avatar
NiLuJe
A night in a freezer was known to jolt dead Kindles awake back in the day
What is the behind the scenes process for this?
5:28 PM
Would charging the battery with a external good charger solve the issue?
Avatar
Temperature and chemistry magic in the battery mix, I would assume
6:56 PM
I don't quite remember the details, there's possibly something smart to do to avoid condensation, too (putting it in a ziploc bag, maybe?) (edited)
Avatar
i think that the charger on ereaders is too weak to recharge the battery when it is abaout 3 Volts
Avatar
Avatar
Szybet
What lag? The x11 one?
The things that I've noticed being the most laggy is the reader (file manager), settings, internet connection, sleep transition and book configurations (like, font size and other settings).
Avatar
1 file manager is being slowly replaced, its crap we all know that 2 settings... you mean? 3 internet connection: speed or? 4 sleeping manager can be fixed now ( with the one i writed ), and will bre replaced with a better one in the future 5 its cpu limited ( or maybe bad coded, idk ) (edited)
Avatar
Avatar
Szybet
1 file manager is being slowly replaced, its crap we all know that 2 settings... you mean? 3 internet connection: speed or? 4 sleeping manager can be fixed now ( with the one i writed ), and will bre replaced with a better one in the future 5 its cpu limited ( or maybe bad coded, idk ) (edited)
1 Sweet! 2 The settings menu, the one opened when you press the cog on the main menu 3 Connecting to, staying connected and using the internet menu. Im unsure about speed because I have nothing that can use it. 4 Oh for real? I got the linux vm setup, so i can try fix that. 5 Im not sure either. Once I get a SD image, I might jump back into the original OS just to read some books. Though I'll definitely still be jumping back and forth.
Avatar
Please don't flash the image back and forth It will only make your device slower
12:41 AM
Buy another microSD card
Avatar
Avatar
tux-linux
Please don't flash the image back and forth It will only make your device slower
😬 Thank you for that tip!
Avatar
Raycast [THCoH] 5/15/2022 12:41 AM
Just use two separate sdcards
Avatar
I'll have an array of SD cards!
Avatar
2 in what way 3 connecting to well @tux-linux, staying connected is slow?, internet menu -> gutenberg library? 4 do you can use openrc on linux?
Avatar
Raycast [THCoH] 5/15/2022 12:42 AM
I'm using a 128gb sdcard for the Kobo os and a 64gb sdcard for inkbox
Avatar
Avatar
luːk
😬 Thank you for that tip!
Avatar
Raycast [THCoH] 5/15/2022 12:42 AM
I'm keeping the original sdcard as clean as possible
Avatar
Avatar
Raycast [THCoH]
I'm using a 128gb sdcard for the Kobo os and a 64gb sdcard for inkbox
God damn
Avatar
Raycast [THCoH] 5/15/2022 12:43 AM
Using a u3 sdcard speeds inkbox up a lot
Avatar
Avatar
Szybet
2 in what way 3 connecting to well @tux-linux, staying connected is slow?, internet menu -> gutenberg library? 4 do you can use openrc on linux?
it should not be slow gutenberg sync takes time... but it's syncing, give it time
Avatar
Avatar
Szybet
2 in what way 3 connecting to well @tux-linux, staying connected is slow?, internet menu -> gutenberg library? 4 do you can use openrc on linux?
2 I press an option (for example "▢ Always show status bar") and it freezes and I wait 10 seconds the screen refreshes and than the option gets selected. I imagine its just a slow device. 3 I mean the device does stay connected (after a moment of being connected it seems to just disconnect), By the "Internet Menu" I mean the menu used to connect to the internet. 4 Im not familiar with openRC though is this something I should learn?
Avatar
Thank you! I shall indeed read about this.
👍 1
Avatar
Avatar
luːk
2 I press an option (for example "▢ Always show status bar") and it freezes and I wait 10 seconds the screen refreshes and than the option gets selected. I imagine its just a slow device. 3 I mean the device does stay connected (after a moment of being connected it seems to just disconnect), By the "Internet Menu" I mean the menu used to connect to the internet. 4 Im not familiar with openRC though is this something I should learn?
WHOA Ok, your device has a problem
Avatar
Avatar
tux-linux
WHOA Ok, your device has a problem
😦
12:49 AM
When i was on the other OS it was satisfactory
Avatar
4. look up some tutorials, and tommorow ping me at #porting kobo nia thread and we will install this on your device
🙂 1
Avatar
but 10s is way too slow, right @Szybet ? (edited)
Avatar
i will test it now
12:51 AM
wait
Avatar
it works perfectly
12:51 AM
weird
12:52 AM
can you record that? @luːk
12:52 AM
its something that can be fix propably
Avatar
Avatar
Szybet
can you record that? @luːk
Record the lag?
Avatar
Ill give it a shot.
Avatar
strace it. That looks suspiciously like the Libra issue with the mxcfb wait_for ioctls timing out. (edited)
Avatar
in that case, it would only hang forever
Avatar
Nope, 10s is the timeout ;o)
Avatar
then my Libra is not having the same issue
1:04 AM
Did we discuss about a completely different issue since I first reported it...? 😂
Avatar
FrameBuffer eInker, a small tool & library to print text & images to an eInk Linux framebuffer - FBInk/fbink.c at de366433554f1dceb1b419d280ed80465ee1d5cc · NiLuJe/FBInk
Avatar
Avatar
NiLuJe
strace it. That looks suspiciously like the Libra issue with the mxcfb wait_for ioctls timing out. (edited)
only on his nia
Avatar
Note: the platform plugin on the Nia isn't using FBInk (if that matters) (edited)
Avatar
They can apparently mysteriously timeout for no apparent reason, which obviously murders performance. This a very, very shitty hack, hopefully only there until more is understood about the issue......
Avatar
Avatar
tux-linux
Note: the platform plugin on the Nia isn't using FBInk (if that matters) (edited)
what
Avatar
Irrelevant, that's a kernel issue that was reproduced on Nickel, too 😉
👍 1
Avatar
It's using native writes to fb0 and ioctl calls to draw the screen
1:06 AM
k
Avatar
I will say it's definitely less than 10 seconds of lag. Sorry for the overestimation, though it's definitely frustrating.
Avatar
that one is to be expected I was thinking about the checkbox
1:14 AM
Also, night mode probably isn't going to help you
1:15 AM
It's not the most stable on Nia
Avatar
I will try catch some other lag, As its seems to be variable
👍 1
Avatar
Avatar
tux-linux
It's not the most stable on Nia
Oh Understood. I'll turn it off
Avatar
Avatar
Raycast [THCoH]
Using a u3 sdcard speeds inkbox up a lot
Does the card slot even support the second row of pins?
1:19 AM
If not just a newer u1 would probably have the same performance increase.
Avatar
Avatar
luːk
I will say it's definitely less than 10 seconds of lag. Sorry for the overestimation, though it's definitely frustrating.
you described it wrong, this is espected
Avatar
Avatar
Szybet
you described it wrong, this is espected
I sure did! Sorry about that. Thats reassuring.
Avatar
In terms of openRC is there specifics you'd reccommend learning about?
Avatar
service command
1:34 AM
where are things
Avatar
Avatar
NonaSuomy
Does the card slot even support the second row of pins?
Raycast [THCoH] 5/15/2022 9:37 AM
U3 was faster than the U1 card tho in inkbox
Avatar
Avatar
Raycast [THCoH]
U3 was faster than the U1 card tho in inkbox
Yes but what are the exact stats of both cards besides the U3?
Avatar
Raycast [THCoH] 5/15/2022 2:01 PM
Both are class 10
Avatar
And
Avatar
Raycast [THCoH] 5/15/2022 2:01 PM
I think they also both were a1
Avatar
and
Avatar
Raycast [THCoH] 5/15/2022 2:02 PM
?
Avatar
year of manufacture date
Avatar
Raycast [THCoH] 5/15/2022 2:02 PM
Idk
Avatar
If you look in the slot is there a double row of pins?
2:03 PM
If you look on the back of the card is there a double row of pins?
Avatar
Raycast [THCoH] 5/15/2022 2:03 PM
Lemme take a look
2:05 PM
Single row for the U3
Avatar
It's fake
2:05 PM
Avatar
Raycast [THCoH] 5/15/2022 2:05 PM
It's a Samsung evo
Avatar
must be mislabeled or fake
Avatar
Raycast [THCoH] 5/15/2022 2:06 PM
It's real cuz I do get the speeds that are said on the internet that you are be able to get
2:06 PM
I can get above 60mb/s
Avatar
U3 does not determine speed
Avatar
Raycast [THCoH] 5/15/2022 2:08 PM
2:09 PM
2:09 PM
This are the sdcards
2:10 PM
Avatar
Avatar
NonaSuomy
Click to see attachment 🖼️
Raycast [THCoH] 5/15/2022 2:12 PM
UHS-1 not UHS-2
2:13 PM
Avatar
see that I ?
2:15 PM
That means UHS-I
Avatar
Raycast [THCoH] 5/15/2022 2:15 PM
Yeah
2:15 PM
But it still is U3
Avatar
which is a single row of pins
2:17 PM
UHS-II
Avatar
Raycast [THCoH] 5/15/2022 2:17 PM
So?
Avatar
Avatar
NonaSuomy
Click to see attachment 🖼️
what is this madness
Avatar
Raycast [THCoH] 5/15/2022 2:17 PM
Still doesn't change the fact that the sdcard is faster than the standard sdcard
Avatar
I was just wondering why though.
2:18 PM
going to say it's just that your other one is much older
2:18 PM
has an older controller in it
Avatar
Raycast [THCoH] 5/15/2022 2:18 PM
Different speed class
Avatar
maybe also more wear
Avatar
Raycast [THCoH] 5/15/2022 2:19 PM
If you overclock the sdcard bus of the ereader it would make stuff even faster
Avatar
Avatar
NonaSuomy
maybe also more wear
Raycast [THCoH] 5/15/2022 2:19 PM
Wasn't used much tho
Avatar
what was it used in?
Avatar
Raycast [THCoH] 5/15/2022 2:19 PM
Raspberry pi for a not very long time
Avatar
Raspberry Pi's destroy SD-Cards
2:20 PM
I have yet to have one survive an RPi
Avatar
Raycast [THCoH] 5/15/2022 2:20 PM
I don't have any problems with that tho
Avatar
Avatar
NonaSuomy
Raspberry Pi's destroy SD-Cards
true^ but it depends on the power supply for the pi
Avatar
Raycast [THCoH] 5/15/2022 2:29 PM
I just hook up a 15w charger
Avatar
All the ratings on SDCards usually just determine the minimal sequential write speed.
Avatar
Raycast [THCoH] 5/15/2022 3:13 PM
Baguette
Avatar
you could technically have a U1 card with a high end built controller in it and a U3 with a lower end controller in it and the U1 card could technically out preform it as the standards is just stating minimums but doesn't say the U1 is impossible to write at 1000MB/s
Avatar
Avatar
NonaSuomy
I have yet to have one survive an RPi
Use raspi-overlayroot for Arch https://github.com/nils-werner/raspi-overlayroot or overlay root filesystem in raspi-config
Protect your SD card against wear and tear. Contribute to nils-werner/raspi-overlayroot development by creating an account on GitHub.
🤩 1
Avatar
Avatar
NonaSuomy
you could technically have a U1 card with a high end built controller in it and a U3 with a lower end controller in it and the U1 card could technically out preform it as the standards is just stating minimums but doesn't say the U1 is impossible to write at 1000MB/s
Raycast [THCoH] 5/15/2022 3:22 PM
1000mb/s does sound impossible tho
Avatar
It's only improbable.
3:43 PM
It's basically like we thought phonelines could only go so fast with dialup back in the day. Then discovered dsl then the same phonelines could now go at mbps speeds instead of kbps speeds.
3:48 PM
most of what the public sees for labeling is just hyperboil advertisement data. A lot of the time as well they have technology that can go way faster or know the current model will go way faster but they govern a limit for it and they throttle it so they have a new product to show the next year so the company is still showing that they are innovating without having to innovate.
Avatar
Raycast [THCoH] 5/15/2022 3:49 PM
Disable the sun tho
3:49 PM
I now remember why I don't like going outside
3:53 PM
Avatar
Do you really need node for epub cover extraction? you can extract it and then OEBPS>Image>WCover.jpg (edited)
Avatar
Raycast [THCoH] 5/16/2022 9:26 AM
Just use a standalone converter
Avatar
It is never the same path
1:55 PM
Besides, it also gives useful info about the book
Avatar
do it that it will be not needed for the user to wait
1:56 PM
pls
1:57 PM
or i will need to rewrite that in the future too
Avatar
I will start in in early boot
2:30 PM
To speed up things after (edited)
Avatar
how much ram will it take?
Avatar
Too much
Avatar
then don't use it
2:31 PM
really
2:31 PM
there is a reason why it isin't used on any ereader (edited)
Avatar
epub-parser really provides a lot of info I don't plan to use it just for that
2:32 PM
It also provides author, published date, subject, etc In JSON format
2:32 PM
Besides, it will only be run when there are new books
2:32 PM
Or at the initial stage after the update
Avatar
do you want the user to wait 30s till his book is added?
Avatar
I will store the info in a database I guess
Avatar
im asking^
Avatar
Avatar
Szybet
do you want the user to wait 30s till his book is added?
It's similar to Nickel
Avatar
we are not nickel
2:33 PM
when do you want to start to use it?
2:34 PM
to develop something with it^
Avatar
There will be an "indexing" boot mode which will do just that
2:34 PM
Also, it's not going to take 30s for each book
2:35 PM
Once the first is done, I can just throw the rest in a while loop
Avatar
the ideas with your epub parsing are being worse and worse...
Avatar
Avatar
Szybet
when do you want to start to use it?
im asking
Avatar
With the new homepage
Avatar
so when?
2:35 PM
if its not in the next week i will write a rust library for it
2:35 PM
im trying to avoid a disaster
Avatar
Avatar
Szybet
if its not in the next week i will write a rust library for it
Rust is not compilable on the kobo
Avatar
It is.
Avatar
Not on Alpine
2:36 PM
It won't be a disaster
Avatar
it has a musl target
2:36 PM
it will
2:37 PM
also we can run it in chroot using glibc
2:37 PM
specify what info you want from epubs and how do you want to communicate with Qt etc and i will do it
2:38 PM
user apps will be later done becouse of it
Avatar
Avatar
Szybet
it will
Good luck
Avatar
i can even do this in cpp of you want
Avatar
Cpp will probably be less brain damage
Avatar
Nope, but thats personal
2:39 PM
using another programming language becouse you need a library from it isint a solution
Avatar
Node will be used for a debug http server if specified by a flag I might use it for other things (edited)
Avatar
but not for something that the user needs to wait
2:40 PM
its not fast
2:40 PM
also you dont have much ram, dont run it all the time
Avatar
It can be fast Only interpreter initial start is slow
Avatar
but then it takes ram
Avatar
And?
Avatar
how much ram do you have on ereaders?
2:41 PM
becouse i think not to much
Avatar
If it's used for static tasks, it won't consume RAM all the time
2:42 PM
Even for http server
Avatar
but it will consume some of it
2:42 PM
15 Mb is too much already
2:43 PM
Library to support the reading of epub files. Contribute to danigm/epub-rs development by creating an account on GitHub.
2:43 PM
there is already a library for rust
Avatar
Avatar
Szybet
specify what info you want from epubs and how do you want to communicate with Qt etc and i will do it
Make a standalone binary that gets the same info as epub-parser in the same JSON format so that it can be a drop in replacement in the future +Support epub3 spec
Avatar
Node isn't for reading epubs It's only to get the metadata
Avatar
this library can extract everything
2:44 PM
¯\_(ツ)_/¯
Avatar
Try to compile it on Alpine
Avatar
Avatar
tux-linux
Make a standalone binary that gets the same info as epub-parser in the same JSON format so that it can be a drop in replacement in the future +Support epub3 spec
sure
2:45 PM
plato launched
Avatar
Plato was already compiled
Avatar
why other things wouldn't
Avatar
It also launched in the glibc chroot
2:45 PM
In which you can't put that library
Avatar
yes, in the glibc
2:45 PM
why?
Avatar
It's not upgradable
Avatar
what, why?
2:46 PM
you use the cpp tolchain for rust
Avatar
Also I would like that to be available globally, not only whilst the GUI is running
Avatar
you link it
2:46 PM
OK
Avatar
Avatar
tux-linux
Make a standalone binary that gets the same info as epub-parser in the same JSON format so that it can be a drop in replacement in the future +Support epub3 spec
I will start with node If you provide something faster I'll use that
Avatar
where is the json scheme for that: https://npm.io/package/epub-cover-extractor
Check Epub-cover-extractor 1.0.3 package - Last release 1.0.3 with MIT licence at our NPM packages aggregator and search engine.
Avatar
no it's not that
2:51 PM
epub-parser module
Avatar
then send the right one
2:52 PM
Common EPUB2 data parser for Ridibooks services. Latest version: 0.7.4-alpha.1, last published: a year ago. Start using @ridi/epub-parser in your project by running npm i @ridi/epub-parser. There are 2 other projects in the npm registry using @ridi/epub-parser.
2:52 PM
this?
Avatar
Avatar
Szybet
this?
nope
2:52 PM
Epub parser. Latest version: 0.2.5, last published: 7 years ago. Start using epub-parser in your project by running npm i epub-parser. There are 4 other projects in the npm registry using epub-parser.
Avatar
do you need all the chapters?
Avatar
I might
2:55 PM
but not now
4:57 PM
snake rust example running on the kobo with arm-unknown-linux-musleabi
4:57 PM
it took me 15 minutes to get this
4:57 PM
also the epub library works too, i attached it to snake and launched a small example
4:58 PM
there were some problems with another snake example, but it was using 100+ libraries for some reason
Avatar
Really
4:59 PM
Ok good
Avatar
Avatar
tux-linux
Rust is not compilable on the kobo
RuSt Is NoT cOmPiLabLe On ThE kObO
Avatar
Well, I tried to compile castor browser once and it never worked
Avatar
libgtk-3-dev libgdk-pixbuf2.0-dev libssl-dev
5:00 PM
its using those libraries
5:00 PM
its more complicated when those aren't rust libraries
Avatar
How much time did it take to compile?
5:01 PM
snake?
Avatar
Oh... You got a precompiled rustc
Avatar
what did you tryied to do?...
Avatar
Compile rust from source since it isn't available in Alpine package manager
Avatar
no no no no no
5:04 PM
give me the link to castor
5:04 PM
i cant find it
5:04 PM
too much castorama's
5:21 PM
It's a different kind of browser
5:21 PM
It will go in X11 subsystem
5:21 PM
As an extension
Avatar
error: failed to run custom build command for `glib-sys v0.9.1` Caused by: process didn't exit successfully: `/home/szybet/Downloads/castor/target/debug/build/glib-sys-704c9f1508b4f6a7/build-script-build` (exit status: 1) --- stdout cargo:rerun-if-env-changed=GLIB_2.0_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7-unknown-linux-musleabi cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_armv7_unknown_linux_musleabi cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS cargo:rerun-if-env-changed=PKG_CONFIG_armv7-unknown-linux-musleabi cargo:rerun-if-env-changed=PKG_CONFIG_armv7_unknown_linux_musleabi cargo:rerun-if-env-changed=TARGET_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7-unknown-linux-musleabi cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_armv7_unknown_linux_musleabi cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --- stderr pkg-config has not been configured to support cross-compilation. Install a sysroot for the target platform and configure it via PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a cross-compiling wrapper for pkg-config and set it via PKG_CONFIG environment variable.
5:34 PM
i need those compiled libraries
Avatar
Try to cross compile them 😁
Avatar
no no no no no no no 🥴
5:42 PM
you can try
5:42 PM
and then i can try the rust part
Avatar
Ok then you can work on the ePUB thing
5:46 PM
I need to get a JSON with author, pub date, cover page location and book name
Avatar
So I can safely remove the epub-parser module from the rootfs? Does the rust library provide all the details above? (edited)
Avatar
Avatar
tux-linux
I need to get a JSON with author, pub date, cover page location and book name
is that all?
Avatar
Basically yes
8:56 PM
Unless you find some info you think would be useful
Avatar
Avatar
tux-linux
So I can safely remove the epub-parser module from the rootfs? Does the rust library provide all the details above? (edited)
O think yws
👍 1
Avatar
Avatar
tux-linux
Basically yes
Could you provide a epub for testing?
Avatar
Avatar
Szybet
Could you provide a epub for testing?
Raycast [THCoH] 5/16/2022 9:18 PM
👍 1
Avatar
Avatar
Szybet
Could you provide a epub for testing?
Ones from project Gutenberg are good
Avatar
Avatar
tux-linux
I need to get a JSON with author, pub date, cover page location and book name
cover page location? so i need to extract it?
10:12 PM
Not the cover
10:12 PM
Only the path
Avatar
Well, you can extract the cover too But I can do that
Avatar
book name = tittle?
Avatar
publish date: {"identifier": ["1a32fad3-5a66-4262-b095-752fd66ab673", "1a32fad3-5a66-4262-b095-752fd66ab673"], "language": ["en"], "title": ["A Kiss Before Dying"], "creator": ["Ira Levin"], "date": ["0101-01-01T00:00:00+00:00"], "calibre:title_sort": ["Kiss Before Dying, A"], "description": ["<p>The young man wanted to become reach using charming girl that studied with him. Her name is Dorothy and she is a daughter of very rich man named Leo Kingship. But suddenly Dorothy became pregnant and her boyfriend realized that his plan can be ruined. He started to make new arrangements for resolving so inconvenient situation. In several days Dorothy found dead. According to suicide note that was send to Ellen, sister of dead girl, and that fact that birth certificate was found at place of dead, police decided that her death was certainly suicide. But Ellen was not so sure, she thought her sister was killed. Ellen went to city where her sister was studying at university. There she started an investigation, almost immediately she founded a man that she thinks killed her sister…</p>"], "calibre:timestamp": ["0101-01-01T00:00:00+00:00"], "publisher": ["http://english-e-books.net/"], "contributor": ["calibre (2.16.0) [http://calibre-ebook.com]"], "cover": ["cover"]}
11:13 PM
thats the data I can get with a single function
11:13 PM
the only thing is missing is the publish date? or am I blind
11:14 PM
its in the first line... but there is nothing?
Avatar
maybe just date?
11:22 PM
idk
Avatar
@tux-linux @tux-linux @tux-linux
12:12 AM
yes.
12:12 AM
Contribute to Szybet/epub-extract-inkbox development by creating an account on GitHub.
12:13 AM
written in 30 minutes
12:13 AM
it works instantly, sonic would be proud
12:13 AM
idk about the date and other things, just say if this fits or you want something else
Avatar
Avatar
Szybet
its in the first line... but there is nothing?
Raycast [THCoH] 5/17/2022 12:13 AM
Not included I guess
Avatar
i used date, idk about these there
12:14 AM
¯\_(ツ)_/¯
Avatar
Raycast [THCoH] 5/17/2022 12:14 AM
It's an old book from 19 something
Avatar
Avatar
Szybet
i used date, idk about these there
Raycast [THCoH] 5/17/2022 12:14 AM
Oh as in the date variable or the date command?
12:14 AM
Oh wait
Avatar
Avatar
Raycast [THCoH]
It's an old book from 19 something
yea, propably then there wasn't this epub version
12:15 AM
🥴
Avatar
Avatar
Raycast [THCoH]
Oh as in the date variable or the date command?
variable from the hashmap
Avatar
Raycast [THCoH] 5/17/2022 12:15 AM
The date of the release of that book isn't included cuz I got it from illegal sites
Avatar
Raycast [THCoH] 5/17/2022 12:15 AM
I also have the txt version
Avatar
idk if we can talk about piracy here (edited)
Avatar
Raycast [THCoH] 5/17/2022 12:16 AM
Let's just say that I searched for the book on legal sites but couldn't find it for free
12:16 AM
I hired the book at the library but lost it on my way home
12:16 AM
I was pissed and just decided to download it somewhere on the internet
Avatar
and then you send shrek to the dev channel
12:17 AM
good day it was
12:17 AM
🥴
Avatar
Raycast [THCoH] 5/17/2022 12:17 AM
Was a different day
12:17 AM
I think it was about 8 days ago or something
12:18 AM
SPOILER
Image attachment
Avatar
We need a channel for memes
12:21 AM
But for funny ones
Avatar
Raycast [THCoH] 5/17/2022 12:21 AM
Yes
12:21 AM
I agree
Avatar
Raycast [THCoH] 5/17/2022 12:25 AM
12:25 AM
Some random person in my discord server
12:25 AM
Lol
Avatar
@tux-linux channel for memes and/or funny stuff pls?
Avatar
Maybe roles as ereader devices?
Avatar
Avatar
dill
@tux-linux channel for memes and/or funny stuff pls?
Forst you test sanki, then you get the meme channel 🥴
Avatar
Raycast [THCoH] 5/17/2022 12:34 AM
Gimme meme channel or I will send twerking spiderman
12:35 AM
@Szybet
Avatar
First person banned? Wow
Avatar
Raycast [THCoH] 5/17/2022 12:35 AM
Nu!
12:36 AM
Oh wait, I can just make a thread
Raycast [THCoH] started a thread. 5/17/2022 12:36 AM
Avatar
Avatar
Szybet
Forst you test sanki, then you get the meme channel 🥴
is sanki on the mini
Avatar
though the size of the binary is terrifying
Avatar
Ok, I got it as low as 2mb
Avatar
node consumes 5M of RAM with an http server FWIW (edited)
Avatar
@Szybet miracle: look at the special characters: it's with a newly compiled platform plugin (edited)
🥳 1
Avatar
Avatar
tux-linux
though the size of the binary is terrifying
Really -_-
Avatar
Avatar
dill
is sanki on the mini
It can be
Avatar
Avatar
tux-linux
Ok, I got it as low as 2mb
I can remove debug things
Avatar
Avatar
tux-linux
@Szybet miracle: look at the special characters: it's with a newly compiled platform plugin (edited)
Nice
Avatar
Avatar
tux-linux
I forked your repo and improved some things, good stuff https://github.com/Kobo-InkBox/epubtool/commit/438f27c752ef79c7a29448b8af3af70c082a31c3
make a pull request
7:49 AM
i will propably optimise it for disk space
Avatar
Avatar
Szybet
make a pull request
i did ti myself
9:03 AM
hehe
Avatar
Avatar
tux-linux
Ok, I got it as low as 2mb
now its 0.5 Mb
Avatar
Raycast [THCoH] 5/17/2022 9:08 AM
You guys never sleep??
Avatar
as little as possible
Avatar
Raycast [THCoH] 5/17/2022 9:09 AM
...
Avatar
code won't write himself?
👍 1
Avatar
Raycast [THCoH] 5/17/2022 9:10 AM
Just get some people help you
Avatar
ok, then you
9:11 AM
An open-source, Qt-based eBook reader for Kobos. Contribute to Kobo-InkBox/inkbox development by creating an account on GitHub.
9:11 AM
add here a qdialog that appears if in /mnt/onboard/onboard is a file called .ink.pkg.gz
Avatar
Avatar
Szybet
ok, then you
Raycast [THCoH] 5/17/2022 9:12 AM
I can't do c or c++
Avatar
W3Schools offers free online tutorials, references and exercises in all the major languages of the web. Covering popular subjects like HTML, CSS, JavaScript, Python, SQL, Java, and many, many more.
9:12 AM
sit down and learn
Avatar
Avatar
Szybet
add here a qdialog that appears if in /mnt/onboard/onboard is a file called .ink.pkg.gz
Raycast [THCoH] 5/17/2022 9:12 AM
I only can make stuff like that in bash
Avatar
write a script in bash that will teach you cpp
Avatar
Raycast [THCoH] 5/17/2022 9:13 AM
No
Avatar
Raycast [THCoH] 5/17/2022 9:13 AM
I'm busy learning for my final exams
Avatar
exams are just numbers
Avatar
Raycast [THCoH] 5/17/2022 9:13 AM
I have math today
Avatar
they won't matter
9:13 AM
oh math
9:13 AM
then maybe a bit
Avatar
Avatar
Szybet
exams are just numbers
Raycast [THCoH] 5/17/2022 9:14 AM
Won't graduate without my final exams
Avatar
reject school start programming
Avatar
Raycast [THCoH] 5/17/2022 9:14 AM
Can't
9:14 AM
Won't have access to laboratory if I don't graduate
Avatar
well in my country there arent any laboratories
Avatar
Raycast [THCoH] 5/17/2022 9:16 AM
I will do a study for programming in a couple of years
Avatar
so you are lucky
Avatar
Raycast [THCoH] 5/17/2022 9:17 AM
I first need to do a different study cuz otherwise I can't go to a higher niveau of education cuz the school system here sucks
Avatar
denemark?
Avatar
Raycast [THCoH] 5/17/2022 9:17 AM
After I'm done with those two studies I will move to the united states
Avatar
Avatar
Szybet
denemark?
Raycast [THCoH] 5/17/2022 9:18 AM
The Netherlands
Avatar
Avatar
Raycast [THCoH]
After I'm done with those two studies I will move to the united states
wtf why
Avatar
Avatar
Raycast [THCoH]
The Netherlands
such a nice country
9:19 AM
amsterdam
9:19 AM
bike roads
Avatar
Avatar
Szybet
wtf why
Raycast [THCoH] 5/17/2022 9:19 AM
Cuz I already have a place where I can live there
Avatar
i would love to live there
Avatar
Raycast [THCoH] 5/17/2022 9:19 AM
I got hit by vehicles multiple times UwU
Avatar
Avatar
Raycast [THCoH]
Cuz I already have a place where I can live there
well, USA has got some problems
Avatar
Raycast [THCoH] 5/17/2022 9:19 AM
I know
9:19 AM
And it's only temporary
Avatar
Avatar
Raycast [THCoH]
I got hit by vehicles multiple times UwU
you can drive?
Avatar
Raycast [THCoH] 5/17/2022 9:20 AM
Bike
Avatar
i hope you won't got shot there
9:20 AM
or robbed
Avatar
Avatar
Szybet
i hope you won't got shot there
Raycast [THCoH] 5/17/2022 9:20 AM
I'll just shoot them
Avatar
Avatar
Szybet
well, USA has got some problems
Raycast [THCoH] 5/17/2022 9:21 AM
I will move with two others to a different place after making some money
Avatar
i dont get it
9:22 AM
netherlands is such a good country (edited)
Avatar
Raycast [THCoH] 5/17/2022 9:22 AM
There are not enough houses here
9:22 AM
It's near impossible to get a house here
9:23 AM
And inflation fucked up all the prices
Avatar
its all the same here in poland
9:23 AM
in usa too
9:23 AM
¯\_(ツ)_/¯
9:23 AM
thank putin
Avatar
Raycast [THCoH] 5/17/2022 9:25 AM
Yep
9:25 AM
The government here sucks
Avatar
becouse?
9:26 AM
then you didn't see poland's goverment
9:26 AM
usa isint better in that too
Avatar
Raycast [THCoH] 5/17/2022 9:26 AM
They brought many people in dept cuz of their last names
Avatar
same here in poland
9:26 AM
¯\_(ツ)_/¯
Avatar
Raycast [THCoH] 5/17/2022 9:27 AM
Welp
9:27 AM
And the government here is slow asf
Avatar
thats how democracy works
Avatar
Raycast [THCoH] 5/17/2022 9:27 AM
They have stupid racist person in government
Avatar
50% of poland's goverment are old stupid racist boomers
Avatar
Raycast [THCoH] 5/17/2022 9:28 AM
He literally said Do you want more or less Moroccans?
Avatar
moroccans?
9:28 AM
moro and cans?
9:28 AM
beans?
9:28 AM
what
Avatar
Raycast [THCoH] 5/17/2022 9:29 AM
People from Morocco
9:29 AM
We have a lot of diversity here
9:29 AM
It even affects our culture
Avatar
look at sweden
9:30 AM
his hate isin't without foundation
9:30 AM
but still
Avatar
Raycast [THCoH] 5/17/2022 9:30 AM
25.5% of our population comes from different countries
Avatar
its nothing wrong with it
9:31 AM
people are people
Avatar
Raycast [THCoH] 5/17/2022 9:31 AM
Our country is small
9:31 AM
People keep moving here and then have trouble finding a house
Avatar
its called overpopulation
Avatar
Raycast [THCoH] 5/17/2022 9:31 AM
Yes
9:32 AM
We have 17,44 million people
9:33 AM
Spread over 41.543 km²
Avatar
Good, but isn't there a way in rust to define DEBUG at compile time and include it or not in the build instead of commenting code?
Avatar
there propably is
👍 1
1:25 PM
¯\_(ツ)_/¯
1:25 PM
but i ripped off completly the debug library
1:25 PM
soo propabyl not o much
1:28 PM
do you want a even smaller or is it good?
1:28 PM
🥴
Avatar
It's fine
1:36 PM
Maybe just println more if debug build is defined
Avatar
then it takes more space
1:55 PM
ph debug build
1:55 PM
it should do that
1:55 PM
but the binary will be 20 Mb
Avatar
wait no
2:09 PM
not
2:09 PM
i will think about it later
👍 1
Avatar
PSA: please don't edit anything on the wiki, I'm redoing server stuff EDIT: Done now, you can (edited)
👍 1
Avatar
What flavor of linux is InkBox based on?
Avatar
Alpine 3.10
Avatar
Thank you.
👍 1
Avatar
about browser for inkbox: https://github.com/openandclose/tosixinch i wanted to do something like that
Browser to e-reader in a few minutes. Contribute to openandclose/tosixinch development by creating an account on GitHub.
11:12 AM
but in rust ;p
Avatar
Is inkbox encryption with EncFS secure enough that it can't be decrypted with brute force software if I use a long complex passcode?
Avatar
Avatar
San
Is inkbox encryption with EncFS secure enough that it can't be decrypted with brute force software if I use a long complex passcode?
KoboGloHDUser 6/25/2022 8:56 AM
As long as you don't store any construction plans for bombs, ABC weapons or plans for future attacks or murders, this encryption is completely sufficient. ☺️ In any case, your data is better protected with this encryption :) (edited)
👍 1
Avatar
Suggestions for a new NTP pool?
Avatar
but why did these died?
5:34 PM
can you test them
5:34 PM
those are official... ntp.org
👍 1
Avatar
Does somebody want to add new author quotes to the GUI?
Avatar
Need those to be authors?
Avatar
Hmm yeah, I need to show a picture next to them
Avatar
i mean, main characters from books?
Avatar
I guess I could allow that too
3:25 PM
But with pictures
Avatar
It's Over Anakin! I have the high ground!
3:27 PM
i hope this was in the book, didnt checked that
Avatar
There's a book?
Avatar
star wars is based on books?
3:27 PM
i readed one
Avatar
Is it? I thought it was created on movie then adapted to books since you tell me so
Avatar
im not sure
Avatar
Avatar
tux-linux
Is it? I thought it was created on movie then adapted to books since you tell me so
well then its in the book anyway
👍 1
3:29 PM
but serioudly i could make many quotes from the witcher series
Avatar
Sure
3:29 PM
Just make the picture height/weight roughly match that of the existing ones
Avatar
maybe a repo for those?
Avatar
Then... invent a better way to display a quote instead of if/else if things in reader.cpp
3:30 PM
json.
3:30 PM
:D
Avatar
Maybe a for loop with randomization
3:30 PM
No, the goal is to have a random display of quotes
Avatar
json array -> random
Avatar
There's aready qrandom implemented
3:31 PM
File 1.txt can match file 1.png Not sure if we really need JSON here
Avatar
well sure then
3:32 PM
but one place for all of those quotes could be goo
3:32 PM
a repo where users can add them (edited)
Avatar
Submodule
3:32 PM
ok
3:33 PM
So it will be a submodule at /resources/quotes
3:33 PM
And users will be able to switch to the home screen to the quote thing without always seeing the same thing
Avatar
Avatar
tux-linux
So it will be a submodule at /resources/quotes
we need to remember to not copy .git file to the final image
Avatar
Compress your pngs to the max Because otherwise the binary is going to be heavy
Avatar
Avatar
Szybet
we need to remember to not copy .git file to the final image
oh sh--
3:35 PM
qrc is file-based
Avatar
Avatar
tux-linux
Compress your pngs to the max Because otherwise the binary is going to be heavy
its going to the binary?
3:35 PM
cant we use it in the gui bundle?
Avatar
Well, now it's not
3:35 PM
Yeah, better there
Avatar
20+ quotes and the binary will build for ages (edited)
Avatar
Ok, so content/inkbox/resources/quotes
Avatar
tested out convay - wow this is great
9:06 PM
i love this
9:06 PM
the obly thing is that those arrow buttons are small
9:06 PM
but eassly fixable
9:06 PM
great work!
Avatar
Avatar
Szybet
tested out convay - wow this is great
yeah, it's fun
Avatar
Avatar
Szybet
but eassly fixable
make a PR
Avatar
i will, propably
👍 1
Avatar
nice
10:51 PM
but why is it white
Avatar
becouse im lazy
Avatar
and why is your battery icon like that
10:51 PM
and you're not using the right font
Avatar
Avatar
tux-linux
and why is your battery icon like that
its hell to work with such a big sketch, it loads for ages so i applied it and didnt repair some things. like v in reversi
👍 1
Avatar
Avatar
tux-linux
and you're not using the right font
you mean for what?
Avatar
Avatar
Szybet
you mean for what?
Kobo logo
10:53 PM
Use Rotis bold
10:53 PM
But that is not open-source anyway
Avatar
Avatar
Szybet
its hell to work with such a big sketch, it loads for ages so i applied it and didnt repair some things. like v in reversi
Have you tried Blender? (edited)
Avatar
Avatar
tux-linux
Kobo logo
oh okay, didnt even tryied, it looks good so i leaved it
Avatar
you're using liberation serif
10:54 PM
this thing is horrible
Avatar
Avatar
tux-linux
Have you tried Blender? (edited)
in blender i couldn't get measurments right, but yea applying the screen in blender would be better
👍 1
Avatar
Avatar
tux-linux
you're using liberation serif
how can you tell what font it is from looking at it...
Avatar
because I can
10:57 PM
well thats a unusual skill (edited)
Avatar
I guess
Avatar
Is there a way to expand the system filesize on InkBox beyond the 1024 MiB choice?
Avatar
Yes but you need to do it manually
Avatar
How would I go about doing that? through KTerm, a partitioning tool, or...?
Avatar
Do you really have >1G of books to store ?
Avatar
Yes, actually. I plan on tinkering extensively with ZIM archives also
Avatar
Do you know Linux well?
Avatar
Er, kinda.
3:18 AM
I cut my teeth on it in college as my main OS
3:18 AM
(ubuntu)
Avatar
which was around what time?
Avatar
2018?
Avatar
did you use the cli?
Avatar
The terminal? Yes.
Avatar
Backup everything that is currently in your onboard storage Boot on an Ubuntu LiveDVD Extend partition 4 of your microSD with a tool like gparted then mount /dev/mmcblk0p4 /mnt rm /mnt/onboard dd if=/dev/zero of=/mnt/onboard bs=1M count=<nb. of mb you want, 1024=1G> sync sync umount /mnt
3:22 AM
(assuming mmcblk0 points to your microSD card, it could be sdb, sdc or something like that otherwise, check with fdisk -l)
Avatar
It works and its easy to make
8:56 AM
🥴
Avatar
Hi. First of all thanks for the great work! InkBox already looks impressive and I can't wait for all kinds of new features. At the moment there is one thing unclear to me: Does InkBox support wifi for N705, N905C and N613 or not? The website/wiki/github do not seem to mention this, but a post on mobileread.com does. On my N613 I indeed do not seem to see any WiFi options, although the original OS does have it. So if it doesn't in InkBox, why not? Hope to hear from you.
👍 1
Avatar
It doesn't work because of this https://github.com/kobolabs/Kobo-Reader/issues/105 It might work in 2.0 release Thanks for reviewing! (edited)
I&#39;ve recompiled a kernel from the imx507 sources for a Kobo Mini and Kobo Touch. All is fine but the wi-fi module doesn&#39;t want to cope with that kernel. I compiled the other modules...
👍 1
Avatar
Avatar
tux-linux
It doesn't work because of this https://github.com/kobolabs/Kobo-Reader/issues/105 It might work in 2.0 release Thanks for reviewing! (edited)
you have a plan to make it work for 2.0?
Avatar
I think
Avatar
will you explain it?
👍 1
Avatar
Thanks for your quick response! Hope this will then work in 2.0. Unfortunately I only have N613 and N905C lying around, but do like to have wifi ;).
👍 1
Avatar
Avatar
tux-linux
I think
Dill: enters the chat
Avatar
Hello! I'm currently having some serious issues with battery on the Nia, is there some strategies I can use to improve this?
Avatar
Ask @Szybet Every Kobo kernel is seriously flawed in some way For the Nia it seems the main problem is power (edited)
5:32 AM
We're developing a new power daemon and he's the main person you should talk to about that It's currently undergoing a long process of testing/debugging/debugging/debugging/debugging/fixing but it will be working better soon to add it in 2.0 release
Avatar
Avatar
tux-linux
Ask @Szybet Every Kobo kernel is seriously flawed in some way For the Nia it seems the main problem is power (edited)
Sweet! I appreciate the clarity, and you guy's hard efforts.
Avatar
the power daemon will fix some things for sure
1:00 PM
for nwo you can contact kobo and ask them to update the linux kernel becouse the license requires them to do it...
1:01 PM
also a note: battery life on the stock os wasn't great either for me, it was better, but suprisingly worse of what i had expexted. the nia has a really small battery inside (edited)
Avatar
well if you really want, you can start using it now
7:50 PM
¯\_(ツ)_/¯
Avatar
For now I think i will flash back to the OG image
8:31 AM
I found someone who could provide me a NIA image
Avatar
Hi guys, just a quick question. Lets say I install inkbox on my device, have I any way to reinstall the stock/default os ?
Avatar
make a backup
2:08 PM
what device do you have? (edited)
Avatar
None for now, I'll buy it today
Avatar
Which one
2:12 PM
dd if=/dev/mmcblk0 bs=512 status=progress | xz > kobo-backup.img.xz
2:12 PM
I... hope you know a bit of Linux things?
Avatar
Avatar
tux-linux
Which one
Don't know yet, I'll what's in store and compatible
Avatar
Avatar
tux-linux
I... hope you know a bit of Linux things?
Yup no worries for that
👍 1
Avatar
Avatar
Zalax
Don't know yet, I'll what's in store and compatible
Ooh, you buy new?
Avatar
Exactly, i wanted one a while ago but didnt know about this project at the time
Avatar
We currently don't support new devices
2:17 PM
The most recent we officially support is the Glo HD
2:17 PM
But
Avatar
Avatar
tux-linux
We currently don't support new devices
because no want wants to port to them, you can help with that*
Avatar
You can buy a Clara HD and help us port it, 90% of users who proposed help for this are never online / gave up interest / didn't want to do it
Avatar
Avatar
Szybet
because no want wants to port to them, you can help with that*
*we don't have enough money
Avatar
Avatar
tux-linux
You can buy a Clara HD and help us port it, 90% of users who proposed help for this are never online / gave up interest / didn't want to do it
The Clara HD is the only device with an easily-accessible internal microSD card
Avatar
I think i'll go with that one then, thanks a lot
Avatar
because im me, i need to say about the nia everything works, only battery life is worse
2:24 PM
also there is a 3d printed case for it :) https://github.com/Szybet/niAudio/blob/main/case/guide.md (edited)
Avatar
Oh I forgot the Nia
2:34 PM
True
Avatar
Avatar
Zalax
I think i'll go with that one then, thanks a lot
Good choice
Avatar
okay i have the Clara HD, what do I need to do now?
Avatar
how did you get an ereader in 30 min? 👀
Avatar
i was in front of the store when i was writing earlier c:
Avatar
okay, nice
3:03 PM
well #porting and clara thread
Avatar
Hmm ok I'm not available currently, when I come back (3h) I will guide you
3:04 PM
Maybe Szybet can help you make a backup And set up a serial connection (edited)
Avatar
is there already a kernel for it? https://github.com/Kobo-InkBox/kernel
Kernel sources for InkBox OS. Contribute to Kobo-InkBox/kernel development by creating an account on GitHub.
Avatar
Yes
Avatar
Avatar
tux-linux
Maybe Szybet can help you make a backup And set up a serial connection (edited)
sure i can if he wants
Avatar
Some effort has been done
Avatar
Avatar
tux-linux
Yes
so i can help him compile everything
Avatar
We have to make the FB work before
Avatar
whats the problem
Avatar
Plus it doesn't seem to support FBInk So we need to reach out to NiLuJe so he can add it if we provide test data
Avatar
Avatar
Szybet
whats the problem
Look in the thread
Avatar
What is the state of the xorg fix?
Avatar
stale
9:42 PM
i'm testing your wifi binary now
Avatar
Avatar
tux-linux
stale
You mean?
Avatar
i really don't have the energy to find the problem in the source, recompile a whole xorg rootfs, repackage 8 system images and upload that
Avatar
I mean, we have a binary that unlocks the eink
Avatar
yes
9:48 PM
maybe ipd could do something with it
Avatar
We could eassly add to ipd some code
Avatar
the platform plugin fix on the kindle with that binary's code makes it even worse
9:49 PM
so
9:49 PM
better put that in ipd
9:49 PM
but when and how
Avatar
But we need a way to detect if eink is locked
Avatar
without polling too much
Avatar
Does fbink dump work when the screen is frozen?
Avatar
probably
Avatar
Dumping one random pixel
Avatar
it just can't send an update
Avatar
Of the screen
9:50 PM
Dumping it, getting the info from the screen
9:50 PM
We are not writing anything
Avatar
but how would you know it's frozen
Avatar
Avatar
Szybet
Dumping one random pixel
Im thinking of this
Avatar
Avatar
Szybet
We are not writing anything
well then we would be
Avatar
Dumping means writing?
Avatar
Exactly
Avatar
but how do you know if it's frozen if you don't write to the screen
Avatar
That's what I'm asking Does dumping work when the screen is frozen?
Avatar
it probably does
Avatar
Well, if not we have a solution
Avatar
only screen updates don't work
Avatar
Yes. only the ioctl handler is locked
👍 1
Avatar
Which is why the place that sends those ioctls in the first place is the place to work it around if you can't be arsed to fix the root cause (edited)
9:55 PM
Doing it any other way lies madness
Avatar
Avatar
tux-linux
i really don't have the energy to find the problem in the source, recompile a whole xorg rootfs, repackage 8 system images and upload that
:/
9:56 PM
If I would find the cause of the problem in the code, would you do the rest?
Avatar
Well, first, we would need to find what causes the problem
Avatar
Avatar
tux-linux
Well, first, we would need to find what causes the problem
Do we know which ioctl write causes it?
Avatar
Avatar
Szybet
Do we know which ioctl write causes it?
we could know, but it wouldn't be easy to search afterwards
9:56 PM
even in the source
Avatar
just grep^fbioblank or what-ever the actyual name isz
9:57 PM
ezpz (edited)
Avatar
Avatar
Szybet
If I would find the cause of the problem in the code, would you do the rest?
we can try to find it together we would also need to succeed in compiling it
Avatar
Avatar
NiLuJe
just grep^fbioblank or what-ever the actyual name isz
I'm thinking of that :p
Avatar
Avatar
tux-linux
we can try to find it together we would also need to succeed in compiling it
Well first compiling it
9:58 PM
Can you provide the source? O can try tommorow
Avatar
let's go
9:58 PM
X server. Contribute to freedesktop/xorg-xserver development by creating an account on GitHub.
Avatar
Avatar
NiLuJe
ezpz (edited)
But the exactly ioctl write?
Avatar
nicolas@gentoo-ryzen ~/D/i/xorg-xserver (master)> rg FBIOBLANK hw/xfree86/fbdevhw/fbpriv.h 38:#define FBIOBLANK 0x4611 hw/xfree86/fbdevhw/fbdevhw.c 84: FBIOBLANK_UNSUPPORTED = 0, 856: if (fPtr->unsupported_ioctls & (1 << FBIOBLANK_UNSUPPORTED)) 877: if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *) fbmode)) { 881: "FBIOBLANK: %s\n", strerror(errno)); 887: fPtr->unsupported_ioctls |= (1 << FBIOBLANK_UNSUPPORTED); 889: "FBIOBLANK: %s (Screen blanking not supported " 905: if (fPtr->unsupported_ioctls & (1 << FBIOBLANK_UNSUPPORTED)) 911: if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *) (1 - unblank))) { 915: "FBIOBLANK: %s\n", strerror(errno)); 921: fPtr->unsupported_ioctls |= (1 << FBIOBLANK_UNSUPPORTED); 923: "FBIOBLANK: %s (Screen blanking not supported " nicolas@gentoo-ryzen ~/D/i/xorg-xserver (master)>
9:59 PM
... great
Avatar
Possibly related: man 5 xorg.conf, Option BlankTime (0 to disable)
Avatar
Hmm Interesting
Avatar
Avatar
tux-linux
... great
just purge all writes with FBIOBLANK :D?
Avatar
I didn't see there were ioctls I only saw FBIOBLANK_UNSUPPORTED
2:13 PM
maybe it would be better to check the config file before
Avatar
i mean
2:14 PM
its a bug in xorg, 100%
2:14 PM
only on some devices happens randomly
2:14 PM
soo
Avatar
check it on your Nia, I seem to have lost my Libra
Avatar
i mean, check what
Avatar
like, I haven't seen it in weeks
Avatar
Avatar
tux-linux
check it on your Nia, I seem to have lost my Libra
what, how?
Avatar
check the bug
Avatar
Avatar
tux-linux
check the bug
um and?
Avatar
Avatar
Szybet
what, how?
I don't know
Avatar
Avatar
Szybet
um and?
check if the config file option works
Avatar
Avatar
tux-linux
like, I haven't seen it in weeks
you were saying you traveled a bit
Avatar
Avatar
tux-linux
check if the config file option works
oh this
2:15 PM
okay i will today
Avatar
might have lost it while traveling
Avatar
propably :/
Avatar
I can go back to these places, I will check if it's there
2:16 PM
(my grand-parents place)
Avatar
post on facebook or a local social network about it
Avatar
I haven't lost any other device
2:16 PM
so I don't care too much
Avatar
still its something
Avatar
It's Wi-Fi Unless you write variable names
4:11 PM
oh, didn't see this was an older commit
4:11 PM
but don't forget to correct it
5:11 AM
nice!
👍 1
Avatar
Hey, what about WiFi? (edited)
9:23 AM
:<
9:25 AM
You also didn't showed user apps
Avatar
Yeah, it was mainly to preview reader things I'll make another complete video for the official release Wi-Fi is not yet design-ready And difficult to demo in the emulator (edited)
Avatar
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
Avatar
Avatar
NiLuJe
Possibly related: man 5 xorg.conf, Option BlankTime (0 to disable)
found it
Avatar
Got stuck. I can't validate this popup. Repro steps : 1/ get a glo on 1.6 (with nothing installed on it) 2/ copy paste the update files and some books on the glo 3/ disconnect and update the device. 4/ once the update is done. Notice the "generating database" popup overlapping the changelog popup. 5/ get stuck
Avatar
remove any book you have
12:14 AM
mount /dev/mmcblk0p4 /mnt mount /mnt/onboard /mnt1 rm /mnt1/books....... umount /mnt1 umount /mnt
12:16 AM
and/or mount /dev/mmcblk0p4 /mnt rm /mnt/update/inkbox_updated umount /mnt to disable the popup
Avatar
Thanks, I will do that tomorrow, gotta get my linux laptop for that. Good night
👍 1
Avatar
UI scaling seems to be pretty much mandatory
3:22 PM
But otherwise, it works.
Avatar
Yes, you did enable it?
3:24 PM
I disabled it during initial setup cause I thought it was gonna work like "windows desktop scaling" aka "it will only zoom stuff, and not actually properly resize it"
Avatar
But it isn't like that anymore (edited)
3:24 PM
Right?
Avatar
yea we could disable the scalling at all
Avatar
Oh yeah it s fine now
Avatar
Good it looks alright
3:25 PM
Your Wi-Fi icon is strange Can you open system info and send a picture?
3:25 PM
2nd page of settings -> show system info
Avatar
I haven't setup wifi yet, maybe that's why
3:27 PM
Device : n613 IP Address: Not available
Avatar
What did I do
Avatar
What's the problem here ?
Avatar
You should be on 1.9-95 or something
3:31 PM
hang on
Avatar
No hurries, it's ok
3:37 PM
should get your gui fixed
Avatar
he needs also updated rootfs?
3:40 PM
only the GUI was problematic
3:40 PM
my build folder was stuck at 13 Aug 2022 (edited)
Avatar
So I've put the files but it doesn't seem to want to update. There's no update prompt. Also the file is only 53 Mo compared to the 121 Mo of yesterday ?
Avatar
where fid you put it
Avatar
File does disappear when I'm reconnecting it to my computer. Sooooo something must have happened
Avatar
and which file
Avatar
Avatar
Szybet
where fid you put it
.
Avatar
Did you sync before disconnecting?
Avatar
safely ejected yup
Avatar
Can you try one more time?
Avatar
It worked for the previous updates. Just not this one.
3:59 PM
I've tried twice so far
Avatar
Oh ok
Avatar
weird it is
Avatar
mount inkbox-update-1.9-n613.upd.isa /mnt mount /dev/mmcblk0p4 /mnt1 cp /mnt/update.isa /mnt1/update umount /mnt1 umount /mnt (edited)
Avatar
maybe it doesnt work for half updates?
Avatar
It should
Avatar
I tried twice .... and then
4:21 PM
4:25 PM
Welp I'll reinstall everything tonight I guess XD
4:27 PM
Somehow the signatures are wrong
4:27 PM
I'll provide you another one later
Avatar
I can still reinstall 1.9 in the meantime tho ?
Avatar
If you really want
Avatar
I don't know how the update process work, but could it have messed up something ? Is this state stable enough for an update ?
4:37 PM
Starting with a blank slate sounds easier/safer.
Avatar
Avatar
tux-linux
Put this at [p4]/update/update.isa http://pkgs-inkbox.duckdns.org:25560/misc/update.isa
Yup this one worked!
Avatar
great
Avatar
I can see the new wifi icon
Avatar
did you try the new wifi framework then?
11:22 PM
credit: Szybet
Avatar
I'm about to
Avatar
(and me for the design part a little bit)
Avatar
It "failed to get network list" once. But worked on the second try. Racing condition much ?
Avatar
maybe just the adapter's fault
11:24 PM
or not
11:24 PM
haven't tried it on the Glo yet
11:24 PM
now I suppose you want to get console access
Avatar
Could be useful, but before that.
11:26 PM
I can't enter my wifi passphrase as it includes symbols
Avatar
even with shift key?
Avatar
I didn't see it --"
Avatar
Avatar
Aramir
I can't enter my wifi passphrase as it includes symbols
you are the forst person i met that does that
Avatar
But yes even with the shift key. I can't find the ? nor the -
11:28 PM
i guess we ought to find space for those too
Avatar
That's strange.... All my wifi pass phrase had symbols like those before that.
Avatar
@tux-linux i dont know if you noticed but i impreved the keyboard that it doesnt move all over the screen when launching
Avatar
well, at worst, create a hotspot from your phone with no special symbols in the passphrase (edited)
Avatar
Avatar
Szybet
@tux-linux i dont know if you noticed but i impreved the keyboard that it doesnt move all over the screen when launching
yes!
11:29 PM
HOW did you do that (edited)
11:29 PM
I searched a way for it for ages
Avatar
adjustSize at start? something like that
11:29 PM
idk
11:29 PM
look at the commit
Avatar
Avatar
tux-linux
i guess we ought to find space for those too
no a button with another page of buttons, all special characters maybe a third click on the shift key
Avatar
I m also noticing truncating error in the reader app
Avatar
go into settings and enable show scrollbar as necessary
Avatar
Avatar
Aramir
I m also noticing truncating error in the reader app
thats exactly what i will fix
11:34 PM
😁
Avatar
good luck
Avatar
good luck with that ^^. Anyways I'll stop reporting bugs and what not for now. You probably already know 90% of them and have your plate full anyways.
Avatar
no, it's always ok to hear from bugs
11:38 PM
sometimes we even forget them because we're so used to them
Avatar
Ok then
11:42 PM
report every one of them if you want, please
Avatar
I finally found my Libra after 1 month
Avatar
where was it
Avatar
it had scotch'd to a magazine in a random box next to my TV
Avatar
well now you can try the xorg fix
Avatar
probably
Avatar
Deleted User 8/29/2022 9:00 PM
kekw
Avatar
Avatar
tux-linux
it had scotch'd to a magazine in a random box next to my TV
lmao
Avatar
woops got an error code 255 when trying to connect my Kobo Glo to my new router's wifi.
5:15 PM
any dump file/logs I need to pass ?
Avatar
look at #dev, the kobo glo hd isint supported yet in the new wifi because of its wifi implementation hangs like crazy
Avatar
Avatar
Aramir
any dump file/logs I need to pass ?
you can pass /var/log/wifi.log if you want
Avatar
it's not a glo hd but a glo
Avatar
also the entire /run directory
Avatar
Avatar
Aramir
it's not a glo hd but a glo
oh
5:16 PM
well possibly the same problem
5:16 PM
did you enabled GUI_DEBUG before this happened?
5:17 PM
also, the most helpfull thing to fix this: how to reproduce it in 100% every time? (edited)
Avatar
Avatar
Szybet
did you enabled GUI_DEBUG before this happened?
I don't even know how to do. So no I'm trying to get those logs but I don't find them on either of the 4 partitions
Avatar
Avatar
Aramir
I don't even know how to do. So no I'm trying to get those logs but I don't find them on either of the 4 partitions
okay, boot flags on the wiki if curious
5:33 PM
if you have an old rootfs they are in /run/wifi_logs
Avatar
Here's the partitions on my sd card. No /run
Avatar
those isa squashfs are the filesystem
5:36 PM
+ run is a tmpfs
5:37 PM
so the logs are already gone
Avatar
welp.... ok then
Avatar
you need to get into shell of the device, in the future
Avatar
But to do that I need to connect to wifi ^^"
5:37 PM
I'll give it another shot and see if I can reproduce the issue
Avatar
Avatar
Aramir
But to do that I need to connect to wifi ^^"
usbnet?
5:38 PM
serial?
5:38 PM
even telnet? ( over usb ) (edited)
Avatar
But he needs to root the device
5:39 PM
Because it's a tmpfs
Avatar
Avatar
tux-linux
But he needs to root the device
well why he didn't already
5:40 PM
;p
Avatar
connection failed, it can't get its ip address, also now the refresh wifi button is greyed out.
5:42 PM
sorry I'm breaking things again.
Avatar
you cant break things that are already broken
5:43 PM
so dont worry
5:43 PM
I should worry, thats my code ;p
5:46 PM
@tux-linux has the glo the same wifi card as glo hd?
Avatar
ok .... how do I root it and connect to it using usb ?
6:17 PM
get a roooted kernel
6:17 PM
well compile it
6:18 PM
and write rooted using dd somewhere
6:19 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
6:19 PM
a guide for the nia, figuring out for your device isint hard
Avatar
I hate askign such a noob question but with the prebuilt images, which xz file do i flash first for the n705 ( mini) we had our sd card corrupt and no backup image so i thought to try this inkbox, I did successfully get the 1.0 image running but couldnt figure out the updates, as it mentioned about putting the 2 files in the .inbox folder) but the archive contained more then 2 files
5:10 PM
sadly i am running windows, but have a confident knowledge of linux if i had to daily drive it.
Avatar
why did you use 1.0 image?...
Avatar
yes sir, which booted fine and usb storage mode worked
Avatar
those images are 1.5
5:11 PM
Avatar
righttt, i was going off the github link
Avatar
ummm so there is a mess
5:13 PM
our fault
5:13 PM
install 1.5
5:13 PM
@tux-linux why
Avatar
so thats the one that failed and was just stuck on inkbox and didnt do anything for 30 mintues
5:14 PM
im just reformatting the card again
Avatar
Avatar
RDF300
so thats the one that failed and was just stuck on inkbox and didnt do anything for 30 mintues
i have no explanation for this
5:14 PM
we must wait for @tux-linux
Avatar
that is fine sir. i know the art of troubleshooting, i am a project engineer at a IT Managed service Provider so i poke and prod XD
Avatar
if you like to tinker and know linux you can create your own image https://github.com/Kobo-InkBox/imgtool
Reproducible image builder for InkBox OS. Contribute to Kobo-InkBox/imgtool development by creating an account on GitHub.
Avatar
Avatar
RDF300
that is fine sir. i know the art of troubleshooting, i am a project engineer at a IT Managed service Provider so i poke and prod XD
ok, good then
Avatar
i might at this rate, spin up a vm
Avatar
if you are in hurry you can create your own image
5:16 PM
if not, wait for tux-linux to appear
Avatar
ahaha , i can lurk. been lurking in some discord for anbernic rg350 images too
5:18 PM
i do love it when manufactures have sd cards rather then soldered storage 😄
Avatar
not all kobos have sd cards
5:18 PM
¯\_(ツ)_/¯
Avatar
shame on you kobo ! XD
5:19 PM
fyi found all this from the mobileread forums which linked to the github, so i am glad i joined the cord (edited)
Avatar
@dill you have a mini right?
Avatar
how did you installed inkbox on it
Avatar
flashed image onto the MicroSD
Avatar
which one
Avatar
which version?
Avatar
which image
5:25 PM
file
Avatar
oh 1.5 back a while ago
5:25 PM
from here?
5:25 PM
and it worked?
Avatar
before that it was the alpha
Avatar
yea it worked the second time, no panic sorry
👍 1
Avatar
no before the website was made
Avatar
oh okay
Avatar
Avatar
RDF300
yea it worked the second time, no panic sorry
so it works?
5:26 PM
and you know how to update to 1.9?
Avatar
yeah they said it works
Avatar
from 1.5 go to 1.6 then 1.9
Avatar
exactly :p
Avatar
the instructions say about moving 2 files, so i am guessing its the .isa file within the xz archive
Avatar
@dill ? idk about that
5:27 PM
i neved updated inkbox ;p
5:27 PM
wait
Avatar
i hope the 1.9 sorts the ui scale on the inkbox settings page
Avatar
for 1.9 there are massive improvments for everything
5:28 PM
for 2.0 that isint ready yet even more
Avatar
thought so, i hope wi-fi is in 1.9
Avatar
i think you put the isa file and can_update into .inkbox folder
👍 1
Avatar
ahhh can update
Avatar
Avatar
RDF300
i hope the 1.9 sorts the ui scale on the inkbox settings page
i dont know about this, if it isin't there, you can: 1. say exactly whats the problem, describe it, create a github issue 2. fix it yourself. its qt / cpp
Avatar
Avatar
RDF300
thought so, i hope wi-fi is in 1.9
i think for 2.0 its there, right @dill ?
Avatar
Avatar
RDF300
http://23.163.0.39/bundles/inkbox/native/update/Update-HOWTO suggested small wording update on this then 😛
i don't remember exactly. maybe you only need the .isa
Avatar
i know its an in development thing so im not kicking and screaming its not there
Avatar
Avatar
Szybet
i think for 2.0 its there, right @dill ?
pretty sure nicolas added WiFi to 2.0 yeah
Avatar
Avatar
RDF300
i know its an in development thing so im not kicking and screaming its not there
it took him a lot of wrestling with linux but i think he got it
Avatar
Avatar
RDF300
i know its an in development thing so im not kicking and screaming its not there
created mainly by 1 student, another one is helping. There are also a few people helping with more problematic stuff / porting it
Avatar
Avatar
Szybet
created mainly by 1 student, another one is helping. There are also a few people helping with more problematic stuff / porting it
youre a student?
Avatar
im the age of nicolas
5:32 PM
so yea
Avatar
ohhh nice!
5:32 PM
you're both still older than me
5:32 PM
:D
Avatar
LOL (edited)
Avatar
i feel like him right now
Avatar
dont worry im a stupid 14 year old
Avatar
Avatar
Szybet
created mainly by 1 student, another one is helping. There are also a few people helping with more problematic stuff / porting it
you can for sure share bugs / problems you discover, its very welcome. You can complain about them too, if you fix them yourself then ;p
Avatar
i regret not continuing with my pic programming when i was at school
5:33 PM
got stuck as an it engineer not a developer
Avatar
Avatar
RDF300
i regret not continuing with my pic programming when i was at school
its never late to learn something
Avatar
oh yea, i know currently learning CCNA
Avatar
Avatar
dill
you're both still older than me
we are waiting for you to learn qt / cpp
Avatar
i am very stupid and incapable of learn
5:35 PM
ing
Avatar
now i can see where i was confused, as on the github i downloaded and flashed 1.0, then tryed the 1.1 upgrade
5:35 PM
but now im on 1.5 the folder for 1.6 makes more sense, as it acually has 2 files in it ahaha
Avatar
flash 1.5, upgrade to 1.6 then 1.9
Avatar
Avatar
dill
i am very stupid and incapable of learn
you are young, young people learn the easiest
Avatar
2.0 will be a complete image
Avatar
the young mind is a sponge
Avatar
for programming you need a bit of math, imagination and a lot of free time and will
Avatar
Avatar
Szybet
for programming you need a bit of math, imagination and a lot of free time and will
i have 0 free time
Avatar
yea i see
Avatar
even though im young
Avatar
you didnt tested sanki yet
Avatar
Avatar
dill
i have 0 free time
can i ask why?
Avatar
yeah exactly
Avatar
ahaha i just opened the .inkbox made me laugh
Avatar
Avatar
RDF300
ahaha i just opened the .inkbox made me laugh
🥴
Avatar
i think inkbox is sure it can update
Avatar
Avatar
Szybet
can i ask why?
school, teaching religion, taking a high-level course outside of school, and martial arts (although i have a broken leg right now)
Avatar
not to mention my parents don't like me using the internet lol
Avatar
Avatar
dill
not to mention my parents don't like me using the internet lol
oh my god
Avatar
because i'm "too young"
Avatar
Avatar
Szybet
oh my god
not that bad i can use it for maybe an hour or two
5:40 PM
in a day 💀
Avatar
no offense, horrible parents i would say
Avatar
not really, theyre just over protective
Avatar
Avatar
Szybet
no offense, horrible parents i would say
no offense taken :p
5:41 PM
i get what you mean
Avatar
Avatar
dill
not really, theyre just over protective
exactly, this is bad
Avatar
whats the age of adulthood in canada?
Avatar
the only evilness i would do is have a wi-fi network for my children that is separate to mine, has some dns filtering on and set it to change the password weekly so that chores are done XD
💀 1
Avatar
in 4 years you will be a grown men now you can use internet more than 2 hours
Avatar
but I HAVE A JOB and IM ALLOWED TO DRIVE fr come on!!
Avatar
Avatar
Szybet
in 4 years you will be a grown men now you can use internet more than 2 hours
lol
Avatar
Avatar
RDF300
the only evilness i would do is have a wi-fi network for my children that is separate to mine, has some dns filtering on and set it to change the password weekly so that chores are done XD
your poor kids
5:42 PM
lol
Avatar
Avatar
dill
your poor kids
no
Avatar
don't you remind me when i got on a united flight and wanted beer and they denied it to me
Avatar
wait your kids wanted beer?
Avatar
i was like errr i ve been drinking for 3 years
Avatar
no when i was 20
Avatar
if you dont mind, which country do you live in?
Avatar
Avatar
RDF300
the only evilness i would do is have a wi-fi network for my children that is separate to mine, has some dns filtering on and set it to change the password weekly so that chores are done XD
you are helping your kids to learn computer science ;p
Avatar
yea , ill leave it as wpa and let them learn to crack the password with rainbow tables
Avatar
Avatar
dill
if you dont mind, which country do you live in?
id say america because you were on united airlines
5:44 PM
¯\_(ツ)_/¯
Avatar
but i had been drinking for 3 years legally
Avatar
united kingdom
Avatar
ohhh nice!
Avatar
kinda, people have gone crazy since friday
Avatar
I'm in the maple syrup country
Avatar
yea , gonna need some new notes XD
Avatar
Avatar
RDF300
kinda, people have gone crazy since friday
yeah it's an unexplainable sad feeling...
Avatar
gonna move to off topic now
Avatar
Avatar
dill
I'm in the maple syrup country
Qubec
Avatar
no, tux-linux is in quebec :D
5:46 PM
i'm in alberta
Avatar
so getting back on topic, i can go from 1.6 to 1.9
Avatar
Avatar
Szybet
@tux-linux has the glo the same wifi card as glo hd?
yes
Avatar
Avatar
Szybet
our fault
I don't see what's wrong
Avatar
its more there is an 1.0 and rc1 in there too
Avatar
yeah go for 1.5
Avatar
Avatar
dill
i think you put the isa file and can_update into .inkbox folder
you don't need to touch can_update
👍 2
Avatar
i origionally picked the 1.0 becuse it was the bigger image
Avatar
Avatar
tux-linux
you don't need to touch can_update
ok, my memory was a little fuzzy
Avatar
Avatar
dill
pretty sure nicolas added WiFi to 2.0 yeah
yes
Avatar
yells\ yayyyyyyyyyyyy
Avatar
Avatar
RDF300
ahaha i just opened the .inkbox made me laugh
can_really_update means the user said I want to update can_update means the software has detected that an update is available
Avatar
ahhh i knew it was something to do with that . had similar embedded devices before with a file that tells it can do it
Avatar
can_really_update can be should_update then
Avatar
Avatar
RDF300
yea , ill leave it as wpa and let them learn to crack the password with rainbow tables
welp
Avatar
Avatar
Weeda
Qubec
bonjour
Avatar
Avatar
tux-linux
I don't see what's wrong
i though there was a mess with the images
Avatar
Avatar
tux-linux
bonjour
i can barely speak french but i understand a lot of written french
5:56 PM
canada sunglasis
Avatar
sad i do not have a breakout cable for (corrcet me if i am wrong) the jtag port on the back on the mini
5:59 PM
oh
5:59 PM
¯\_(ツ)_/¯
Avatar
serial, uart port it is
👍 1
Avatar
Avatar
RDF300
sad i do not have a breakout cable for (corrcet me if i am wrong) the jtag port on the back on the mini
you don't need that much only uart is fine
Avatar
ahhh fine, i think i had the correct cable that would allow me to see console ( that i used to program the bootloader on my einsy rambo 3d printer motherboard
6:03 PM
but i have no clue where that cable is
Avatar
hint: tear down an ethernet cable
6:06 PM
you don't even need to solder it don't solder it (edited)
Avatar
or get some normal cables and solder them how it should be done
Avatar
oh and into a usb header ?
6:08 PM
yea i need to learn how to submit bug reports. as the settings menu on a kobo mini still have the scroll bars
Avatar
Avatar
RDF300
yea i need to learn how to submit bug reports. as the settings menu on a kobo mini still have the scroll bars
already in the todo, it will be fixed
👍 1
Avatar
Avatar
RDF300
oh and into a usb header ?
what no
Avatar
Avatar
Szybet
what no
thats my noob comming out
Avatar
Avatar
tux-linux
you don't even need to solder it don't solder it (edited)
6:10 PM
you need to have a bit of skill
Avatar
yea. man i need to find that cable i legit need it to reflash a bios on my tablet
Avatar
bios on tablet?....
Avatar
probably u-boot but he doesn't know it yet
Avatar
maybe its an x86 tablet ;p
Avatar
that would be really surprising
6:12 PM
but it could (edited)
Avatar
linx 10 it might be as it is x86 bios which is hella stupid
Avatar
interesting
Avatar
right its just a usbasp
👍 1
6:21 PM
mind blown with geany, please dont tell me you support usb otg ?
Avatar
usb otg is supported with external power supply
6:21 PM
I never tried it
Avatar
ah right i do not have a powered hub
Avatar
Avatar
RDF300
mind blown with geany, please dont tell me you support usb otg ?
http://23.163.0.39/bundles/kobox/extensions/ some other extensions you might like
Avatar
c64......
6:22 PM
what was someone thinking
6:23 PM
i'm guessing they get put in the .inkbox folder ?
Avatar
MobileRead - the resource for mobile geeks seeking information and advice for keeping their gadgets happy.
Avatar
Avatar
RDF300
i'm guessing they get put in the .inkbox folder ?
no, open KoBox settings
Avatar
ah nope you go into kobox......
6:24 PM
yeaaaaa, i have only seen this product for ahout an hour so yea
Avatar
Avatar
tux-linux
Backup everything that is currently in your onboard storage Boot on an Ubuntu LiveDVD Extend partition 4 of your microSD with a tool like gparted then mount /dev/mmcblk0p4 /mnt rm /mnt/onboard dd if=/dev/zero of=/mnt/onboard bs=1M count=<nb. of mb you want, 1024=1G> sync sync umount /mnt
this
7:04 PM
@tux-linux
Avatar
yes, it's not great for the mmc
Avatar
and? i want more storage, everyone else too
Avatar
i think i can use disk genius to achieve this on windows
Avatar
noone will install inkbox if you say only 1G storage on a device that on stock had 8G
Avatar
Avatar
RDF300
i think i can use disk genius to achieve this on windows
dont
Avatar
Avatar
RDF300
i think i can use disk genius to achieve this on windows
don't
Avatar
mine's a miini and its already using a third party sdcard
7:06 PM
ohhhhh yeaaaa i do remember why
7:06 PM
its looking at specific start and end blocks right
Avatar
Avatar
Szybet
noone will install inkbox if you say only 1G storage on a device that on stock had 8G
also, this process is extremely long
7:06 PM
can take like 5 minutes for 1G
Avatar
i dont remember it taking long
Avatar
Avatar
Szybet
noone will install inkbox if you say only 1G storage on a device that on stock had 8G
still.
7:07 PM
just lets make bigger images
Avatar
it's cpu-heavy for the device, plus mmc heavy
Avatar
thought so,
Avatar
Avatar
Szybet
just lets make bigger images
👀
Avatar
and what? rule out everyone that has only 4g sd cards? (edited)
Avatar
custom images i said
7:08 PM
diffrent sizes for diffrent devices
Avatar
Avatar
Szybet
noone will install inkbox if you say only 1G storage on a device that on stock had 8G
first, people don't know that until they install it, and second, I have received almost no complaints about it
Avatar
Avatar
Szybet
diffrent sizes for diffrent devices
yay, let's fill up the server's storage space
Avatar
i know the rg350 custom firmware had it built in to expand the storage which took a while too
Avatar
Avatar
tux-linux
first, people don't know that until they install it, and second, I have received almost no complaints about it
lets dont make idiots from people me, this gui above, RDF, me x2
Avatar
Avatar
tux-linux
yay, let's fill up the server's storage space
its called compression, perfect for this
Avatar
you aren't taking into account that the images will literally be duplicated
7:10 PM
even if the onboard file weighs 128K on the xz file
Avatar
Avatar
tux-linux
you aren't taking into account that the images will literally be duplicated
?
Avatar
i can still be here using inkbox for testing and will try to learn to help, but i think ill reflash my origional kobo image and expand the storage
Avatar
testers are really welcome
7:12 PM
we have none of them currently soo
Avatar
Avatar
RDF300
i can still be here using inkbox for testing and will try to learn to help, but i think ill reflash my origional kobo image and expand the storage
but you can expand the storage on inkbox
Avatar
Avatar
Szybet
?
i await explanation
Avatar
an xz-compressed system image file contains the OS itself and the onboard storage file, in about 780M size if you want different sizes, let's say 1, 4, 8 and 16G, you would have to make 4 system images for every device, for 7 devices => 7 * (4 * 780) = 21 840M (edited)
Avatar
what? no...
7:20 PM
lets only support the stock size
Avatar
Avatar
Szybet
custom images i said
then why did you say that
Avatar
yes , i know that the anbernic rg350 custom firmware people has a script that ran after the install to detect the full sd card size and run a re-size
Avatar
Avatar
tux-linux
then why did you say that
well you misunderstood
Avatar
i think it used a file (similar to your can_update) to detect that the resizer script had been run already
Avatar
Avatar
Szybet
well you misunderstood
you really think having the user wait for 15m after the first inkbox image flash is a good idea?
7:22 PM
its already bigger in the image that they flash (edited)
7:22 PM
into the sd card
Avatar
we are not kobo we don't have money
Avatar
where money is needed to do that
Avatar
store the images?
Avatar
compression?
Avatar
Avatar
Szybet
its already bigger in the image that they flash (edited)
in their image it's a partition, not a file
7:24 PM
it's much easier to resize and does not damage the mmc a lot (edited)
Avatar
Avatar
tux-linux
you really think having the user wait for 15m after the first inkbox image flash is a good idea?
you already excluded this solution
Avatar
yes, resizing a partition takes seconds (edited)
Avatar
so... what solution would you accept then
Avatar
Avatar
tux-linux
you really think having the user wait for 15m after the first inkbox image flash is a good idea?
maybe not on initial boot but a button in settings with a warning popup ?
Avatar
options
  • switch to gpt and create p5 for onboard (probably going to be a mess)
  • make an extended partition for p4 and p5 which would be onboard, translated: p4 is extended, p5 is user, p6 is onboard (will probably be a mess too)
(edited)
Avatar
sorry to open a can of worms
Avatar
everything is filled with worms here
Avatar
Avatar
tux-linux
options
  • switch to gpt and create p5 for onboard (probably going to be a mess)
  • make an extended partition for p4 and p5 which would be onboard, translated: p4 is extended, p5 is user, p6 is onboard (will probably be a mess too)
(edited)
well okay, but this would be really complicated to implement
Avatar
the question is not whether or when a problem will occur, it's how many will occur
Avatar
i would still want bigger images
Avatar
Avatar
Szybet
i would still want bigger images
the simplest, easiest solution...
Avatar
Avatar
RDF300
maybe not on initial boot but a button in settings with a warning popup ?
this is a fair solution
👍 1
Avatar
well true
Avatar
a thing we need to do in 2023 is to design and sell our own device because almost no one is interested in inkbox currently
Avatar
well lets make the software first good
Avatar
looks like im gonna have to buy a new device or stay with inkbox the backup image i have is ols , and kobo desktop app is refusing to download the updater
Avatar
Get the latest automatically-updated links to firmware releases and release notes for Kobo devices, or download older firmware versions. To install an update, extract the zip file into the .kobo folder on your device.
8:28 PM
idk about what you are talking about
Avatar
DAMN your on poinmt
Avatar
i'm not sure it will solve his problem
Avatar
¯\_(ツ)_/¯
Avatar
dunno, thjere was an update released in 2018 that was required
8:30 PM
so the main boards are pretty much all the same ?
8:30 PM
sorry wrong chat
Avatar
well as soon as i put that in i rebooted and bricked time to pull out the sd again
8:40 PM
you have a mini right?
Avatar
yes, and niceeeeeeeee a tiny version
Avatar
it's the late davidfor that imaged it not me
Avatar
all i have is the version i made before upgrading the sd card and it was 4GB
8:43 PM
ohhh yeaaa
8:43 PM
the last image i got a pm from hin was 4GB
8:44 PM
is there anything i had to do with the serial number ?
8:44 PM
trying to remember the instructions
8:44 PM
ah no it is that image i am burning
Avatar
i love the message about not forgetting to safely eject it 😄
👍 1
Avatar
right on 1.6 and there is no can update file, is that an issue ?
Avatar
probably not
👍 1
Avatar
updating to that 1.9 and gives me a secuity policy violated
9:37 PM
ooooo crap, on a mini its sidewards
Avatar
http://pkgs-inkbox.duckdns.org:25560/images/n705/inkbox-1.9-n705.img.xz then try to flash this (just remembered) image and then update with the package I sent you
Avatar
okey dokey
Avatar
ooo i like the loading bar
👍 1
Avatar
report number 1, i cant hit okay on the infomation box 😦
10:07 PM
@tux-linux
10:07 PM
stop pinging me
10:07 PM
i read messages
Avatar
i will sorry
Avatar
Avatar
RDF300
i will sorry
i pinged him?
Avatar
Avatar
tux-linux
stop pinging me
well sure
👍 1
Avatar
install linux on your computer, then rm [p4 of the sd card]/update/inkbox_updated
Avatar
ahahaha
Avatar
Avatar
tux-linux
install linux on your computer, then rm [p4 of the sd card]/update/inkbox_updated
why is it needed
Avatar
because the changelog for 1.9 was so big that the message box overflowed the screen size
Avatar
yea i get it, just a 4 letter word with the 6th character of the apahabet
10:09 PM
its more its really thin, too
Avatar
Avatar
tux-linux
because the changelog for 1.9 was so big that the message box overflowed the screen size
😆
10:10 PM
avoid this for 2.0
10:10 PM
or... enable the scroll bar?
Avatar
the message was only using the middle third of the screen
Avatar
it's an archaic message box
Avatar
right the reset button fixed that
10:12 PM
let me look at the git hub for the bugs and let you know if something is new in the bugs section
10:13 PM
oo new .folders too
Avatar
Avatar
RDF300
let me look at the git hub for the bugs and let you know if something is new in the bugs section
first ask us on #bugs if we already know about it, if not you are welcome to create an issue
👍 1
Avatar
ah fair
10:16 PM
Shit, i cant connect to my wi-fi
10:16 PM
i need a - and its not on the keyboard 🤦
Avatar
we have this problem in out todo already :)
10:17 PM
you are the second person complaining
Avatar
lol yea i saw. not complaining im more like oh crap woops on me
Avatar
Avatar
RDF300
lol yea i saw. not complaining im more like oh crap woops on me
i say "complaining" only because of my lack of english words
Avatar
i think i crashed it opening my first epub
Avatar
propably already fixed?........ please sent this epub to us
Avatar
did you update with my update package
Avatar
yes sir
Avatar
what epub then
10:20 PM
i can pm you too,
Avatar
im testing it
10:20 PM
give me some time
Avatar
tiz good, i like being the tester
Avatar
for being a tester, you need to compile the kernel and everything else yourself...
10:21 PM
well the kernel is most important
Avatar
ahhh ok, yea i can look at doing that
Avatar
installing linux first would be a good start
Avatar
-.- yes mom
😆 1
Avatar
how do you want to compile the whole inkbox system without a linux OS?
Avatar
is it the epub reader and ui scale thay keeps the page with the larger black font before downscaling it ?
Avatar
Avatar
RDF300
is it the epub reader and ui scale thay keeps the page with the larger black font before downscaling it ?
dont use the ui scale
👍 1
10:25 PM
i dont even know why it exists in the first place
Avatar
accessibility?
Avatar
fair, i noticed within the epub reader if you go into settings and hit the I the okay button is still faint, but i know thats becuse of the e ink display not going through a full refresh
Avatar
Avatar
tux-linux
accessibility?
it doesnt work good
Avatar
Avatar
RDF300
fair, i noticed within the epub reader if you go into settings and hit the I the okay button is still faint, but i know thats becuse of the e ink display not going through a full refresh
einks fault, yes
Avatar
nice, took me a few secs on how to close out of a book but its all intuiative to a tech user
10:31 PM
takes some time to open because its a huge book
Avatar
ah fair with the ui scale off it keeps cutting off buttons sometimes
Avatar
Avatar
Szybet
it doesnt work good
as i said
10:32 PM
maybe it could be removed for 2.0?
10:32 PM
tux-linux?
Avatar
well no i turned it off
Avatar
maybe a warning?
Avatar
Avatar
RDF300
well no i turned it off
that will be removed
👍 1
Avatar
it doesnt work good?
Avatar
you need to turn it on and set it to scale 1
10:33 PM
that is the default scale
Avatar
im gonna have to agree that being able to change the ui scale to different sizes stays (edited)
Avatar
Avatar
tux-linux
that will be removed
add it to todo please
Avatar
the 'turned off' scaling is nonsensical, it worked for devices running Nickel back in mar 2021 but now Nickel support is obsolete
Avatar
that is fair
10:35 PM
the flash of the larger text in black then it changing to the smaller text again is a known thing to do ?
Avatar
Avatar
RDF300
the flash of the larger text in black then it changing to the smaller text again is a known thing to do ?
Avatar
i'm sorry im annoying you
Avatar
I didn't say anything 🙂 (edited)
Avatar
i know, i just know peoples headache of reapeating stuff when the "user" is lazy and doesnt read everything
Avatar
I did send you the same thing moments ago though
Avatar
Avatar
tux-linux
everything is filled with worms here
Dill has entered the chat and can confirm, my head is full of worms
😆 1
Avatar
I was more talking about the software rather than the people tho (edited)
Avatar
Even after symlinking the kernel directory to /home/build/inkbox/kernel (edited)
10:42 PM
It doesn't work
Avatar
well the error message dissapeared
10:43 PM
Yes, i noticed i've sent the wrong one, sorry
Avatar
thats weird
10:43 PM
add toolchain/arm-nickel-linux-gnueabihf/bin/ to your PATH env variable
10:43 PM
When you type a command, the shell searches through all directories specified in the user $PATH variable for an executable file of that name. This article shows how to add directories to your `PATH in Linux systems.
10:43 PM
like that
Avatar
Still the same error 😩
10:47 PM
I'm running this commands inside the docker container
Avatar
can you execute arm-nickel-linux-gnueabihf-gcc?
Avatar
Might it be the problem?
Avatar
no, not really
Avatar
Avatar
Szybet
can you execute arm-nickel-linux-gnueabihf-gcc?
does the command exist
Avatar
Avatar
Szybet
can you execute arm-nickel-linux-gnueabihf-gcc?
Yes
10:47 PM
It does
10:48 PM
arm-nickel-linux-gnueabihf-gcc: fatal error: no input files compilation terminated.
Avatar
you use this command? env GITDIR="${PWD}" TOOLCHAINDIR="${PWD}/toolchain/arm-nickel-linux-gnueabihf/" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
Avatar
Yeah, i've tried that one and this one sudo env GITDIR="${PWD}" TOOLCHAINDIR="$PATH" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
Avatar
dont use sudo
Avatar
Avatar
ManuXD32
Yeah, i've tried that one and this one sudo env GITDIR="${PWD}" TOOLCHAINDIR="$PATH" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
this one is bad
Avatar
Avatar
Szybet
you use this command? env GITDIR="${PWD}" TOOLCHAINDIR="${PWD}/toolchain/arm-nickel-linux-gnueabihf/" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n306 root
try this one
Avatar
Okay, i think the problem was that my folder had a space on its name
11:01 PM
But now i get a new error
Avatar
Avatar
ManuXD32
Okay, i think the problem was that my folder had a space on its name
thats stupid 😆
11:01 PM
but possible
Avatar
Avatar
Szybet
thats stupid 😆
I am stupid hahahahha
Avatar
Avatar
ManuXD32
I am stupid hahahahha
no, the script has flaws
Avatar
Avatar
Szybet
no, the script has flaws
That's another point of view hahaha
Avatar
you are executing everything from the kernel dir right?
11:05 PM
also ls /home/build/inkbox/kernel/initrd/
Avatar
Avatar
Szybet
you are executing everything from the kernel dir right?
from "kernel-master" folder which has kernel, script, toolchain folders in it along others
Avatar
Avatar
Szybet
also ls /home/build/inkbox/kernel/initrd/
show me the output
Avatar
Avatar
Szybet
also ls /home/build/inkbox/kernel/initrd/
ls: cannot access '/home/build/inkbox/kernel/initrd/': No such file or directory
Avatar
ls /home/build/inkbox/?
Avatar
ls /home/build/inkbox/kernel shows this: config linux-2.6.35.3 linux-2.6.35.3-spt1 linux-3.0.35-n437 linux-4.1.15-n306 linux-5.15.10 modules linux-2.6.31-kt linux-2.6.35.3-n905b linux-3.0.35-n236 linux-4.1.15-libra linux-5.10.89 linux-5.16-n249 out
Avatar
Avatar
Szybet
ls /home/build/inkbox/?
kernel
Avatar
you symlinked it wrong
Avatar
Gonna cry hahahah
Avatar
home/build/inkbox/kernel should point to your kernel-master dir
Avatar
ohhhhh okay
11:10 PM
AT LAST IT WORKED!!!
11:11 PM
Now i just have to flash it and see if it works, right?
11:11 PM
its more complicated
Avatar
oops hahahaha
Avatar
can you estabalish a serial connection?
11:12 PM
well bad english
Avatar
What do you mean by that??
Avatar
just make and serial connection
11:12 PM
uart
11:12 PM
are you familiar with it?
11:12 PM
Does it require tinkering with the motherboard?
11:13 PM
but well we can go without it
11:13 PM
it will be just trickier
Avatar
Better, wish i ken how to do that hahahah
11:13 PM
knew*
Avatar
you have the sd card right?
Avatar
did you made a backup?
11:13 PM
you have inkbox installed right?
Avatar
I used another sd card
Avatar
Avatar
Szybet
you have inkbox installed right?
Yes
Avatar
okay good
11:14 PM
well clone the rootfs repo from github
11:15 PM
@tux-linux actually, how to replace the key in inkbox?
Avatar
Avatar
Szybet
well clone the rootfs repo from github
From inkbox repo?
11:16 PM
from the same organisation
11:17 PM
I used this one
11:17 PM
So there's no repo 😩
11:18 PM
But one of the sd partitions is named rootfs
11:18 PM
Can i use those files?
11:18 PM
Avatar
im talking about this
11:19 PM
InkBox OS root filesystem. Contribute to Kobo-InkBox/rootfs development by creating an account on GitHub.
Avatar
Oh okay, sorry
11:20 PM
Done!
Avatar
you want to be able to compile sanki yourself, right?
Avatar
Yup, that would be nice
Avatar
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
11:21 PM
here is a detailed guide i made
11:21 PM
there is a script too
11:21 PM
you need to do all of that
Avatar
Okay!
Avatar
Avatar
Szybet
@tux-linux actually, how to replace the key in inkbox?
probaly this?
Avatar
Hey, i'm have¡ing a little trouble with this
11:41 PM
I'm getting this error:
11:41 PM
checking for GNU sed >= 4.0... yes checking for gcc... /home/manuel/x-tools/arm-kobo-linux-gnueabihf/bin/arm-kobo-linux-gnueabihf-gcc checking whether the C compiler works... no configure: error: in `/home/manuel/Escritorio/pro/sanki/koxtoolchain-master/build/CT-NG': configure: error: C compiler cannot create executables See `config.log' for more details
Avatar
you are trying openssl?
Avatar
When runing this: ./gen-tc.sh kobo
Avatar
Avatar
Szybet
you are trying openssl?
Not yet
11:43 PM
I've dug into the config.log file
11:43 PM
But i don't find anything useful (for me)
Avatar
used ./configure DFLAGS="-03" and this is the config.log checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-
11:43 PM
?
Avatar
I think it might be the header
11:47 PM
Gonna try it
11:51 PM
Same error
11:51 PM
Also i'm not using ./cong¡fig DFLASG command
Avatar
Avatar
ManuXD32
Also i'm not using ./cong¡fig DFLASG command
it has nothing to do with it
Avatar
do you have installed libstdc++?
Avatar
are you sure?
11:54 PM
Avatar
do you have those? git ncurses gperf help2man bison texinfo flex gawk unzip
11:54 PM
I installed those dependencies beforehand
Avatar
try it in the debian container then
Avatar
i'm using the distrobox container
Avatar
you need to install every dependience in the container too
Avatar
I know, i've installed them inside the container
Avatar
im out of ideas
11:58 PM
show me config.log
Avatar
what is in /home/manuel/x-tools/arm-kobo-linux-gnueabihf/bin/arm-kobo-linux-gnueabihf-gcc: No such file or directory
11:59 PM
thats an error
11:59 PM
actually
11:59 PM
you maybe need to symlink too?...
Avatar
But the directory /home/manuel/x-tools does not exist
Avatar
you need to symlink it too then
Avatar
What should i symlink here
Avatar
your x-tools directory
Avatar
I don't have that directory as it hasn't been created after running the script
Avatar
try to run everything with root
Avatar
Looks like i als ¡o needed this library ncurses-devel
Avatar
does it work?
Avatar
It's still in progress
Avatar
okay, good
12:12 AM
you can make a pull request later to the guide that for fedora this is needed
Avatar
Oh yeah, gonna do it
Avatar
Avatar
Szybet
@tux-linux actually, how to replace the key in inkbox?
/opt/key.sqsh in initrd
Avatar
why is it a squashfs
Avatar
So that it can mount to the rootfs and not be writable?
12:57 AM
Also it contains other keys
12:58 AM
User apps key and kobox key
Avatar
Hello again
1:15 AM
I'm at this step
1:15 AM
Compile qt app for kobo
1:15 AM
But cd /inkbox/repo does not exist
1:15 AM
Where am i suppossed to get it?
Avatar
thats the repo of the qt app you want to compile
1:19 AM
im going to sleep, i can help you tommorow more
Avatar
Okayy
1:19 AM
Good night!!
1:19 AM
Thank you so much!
12:42 PM
Good morning!!
Avatar
good morning
Avatar
I'm still trying to compile Sanki, but i keep getting this error when running "make"
12:44 PM
201 bytes
Avatar
you need the zip library
12:44 PM
but for now you need your self compiled inkbox
Avatar
I've got the kernel compiled and downloades the rootfs
12:46 PM
How should i continue?
Avatar
unsquash key.sqsh in the kernel repo at this path
Avatar
OKay, i got this applications-public.pem kobox-graphic-public.pem kobox-nographic-public.pem public.pem
Avatar
now you need to generate your own keys
12:53 PM
and create a copy of key.sqsh but with your keys
12:54 PM
names must be identical
Avatar
I've got no idea about how to generate those keys
Avatar
openssl genrsa -out private.pem 2048 openssl rsa -in private.pem -out public.pem -outform PEM -pubout
1:04 PM
something like that
1:04 PM
you need to use public keys in the squash
1:04 PM
and you cant loose your private ones
Avatar
Okay, so now i've got this two keys private.pem public.pem
Avatar
Avatar
ManuXD32
OKay, i got this applications-public.pem kobox-graphic-public.pem kobox-nographic-public.pem public.pem
So i replace the public.pem in here
1:07 PM
With the one i just generated
Avatar
Right?
Avatar
and do the same for all of the keys
1:07 PM
generate 4 keys in total
Avatar
Okay
Avatar
Avatar
Szybet
openssl genrsa -out private.pem 2048 openssl rsa -in private.pem -out public.pem -outform PEM -pubout
So now i've generated this: applications-public.pem kobox-graphic-public.pem kobox-nographic-public.pem private.pem public.pem Using the second command here but changing "public.pem" for the other names
1:09 PM
Now i have to squashfs it into a key.sqsh
1:09 PM
Right?
1:10 PM
did you used 4 diffrent keys?
Avatar
But taking out the private.pem
Avatar
Avatar
Szybet
did you used 4 diffrent keys?
I used this command openssl rsa -in private.pem -out kobox-nographic-public.pem -outform PEM -pubout
1:11 PM
But changing kobox-nographic-public.pem for the other names
1:15 PM
Do i need to make a different private.pem for all of the keys?
Avatar
Avatar
ManuXD32
Do i need to make a different private.pem for all of the keys?
i think not actually
1:15 PM
you can use one for all
1:15 PM
but be sure the name is good
Avatar
Yup, the name is the correct
1:16 PM
do i delete the previous key.sqsh?
1:16 PM
To replace it with the new one
1:18 PM
be sure then you unsquash it its the same as the previous
Avatar
Done
1:19 PM
Their good
1:19 PM
They're
Avatar
now recompile the kernel
Avatar
Okay
1:21 PM
On it!
1:23 PM
Done
Avatar
now the rootfs
1:25 PM
run env GITDIR="${PWD}" ./release.sh as root user in roofts repo
Avatar
Okay
Avatar
after this, sign it with your key openssl dgst -sha256 -sign private.pem -out rootfs.squashfs.dgst rootfs.squashfs
Avatar
Avatar
Szybet
you need the zip library
Did he actually upgrade to a dev version of inkbox yet?
Avatar
Avatar
Szybet
after this, sign it with your key openssl dgst -sha256 -sign private.pem -out rootfs.squashfs.dgst rootfs.squashfs
Done
Avatar
Avatar
tux-linux
Did he actually upgrade to a dev version of inkbox yet?
I don't thinks so 🧐
Avatar
Avatar
tux-linux
Did he actually upgrade to a dev version of inkbox yet?
what
Avatar
Avatar
ManuXD32
Done
now only the update package for gui i think, right? @tux-linux
Avatar
Oh ok I think only GUI bundle is missing now
1:30 PM
clone https://github.com/Szybet/gui-bundle/tree/main
Avatar
Okay!
Avatar
and there is a guide, and hints how to do things (edited)
1:30 PM
which arent in the main repo for some reason ;p
Avatar
Thank you so much!
Avatar
Avatar
Szybet
which arent in the main repo for some reason ;p
Time
Avatar
Avatar
Szybet
i think not actually
Yes, I have different private keys for every of them (edited)
1:32 PM
Btw, dev mode exists
1:32 PM
But if they got that far they can continue to the end (edited)
Avatar
Avatar
tux-linux
Yes, I have different private keys for every of them (edited)
So do i need to rebuild the keys and recompile the kernel?
Avatar
It's not needed for now
Avatar
Oh okay
Avatar
If you have your key for at least the main packages it's fine
Avatar
Avatar
tux-linux
Time
what
Avatar
Nice
Avatar
Avatar
Szybet
what
(lack of) time
Avatar
Avatar
tux-linux
Btw, dev mode exists
he isint a developer
Avatar
Yeah, well, true
Avatar
Avatar
tux-linux
(lack of) time
okay... its there for 5 months i think
Avatar
I don't know how to crosscompile things in build 🧐
Avatar
look in the niAudio guide i send you
1:39 PM
just as with sanki you tried
1:39 PM
but you need to do this in qtcreator
1:39 PM
its the prefered way
Avatar
qmake && make
1:51 PM
he need release
1:51 PM
+ qmake will be used from his main system path which is bad
Avatar
On Gentoo it's qmake5 for system And it produces a release build by default (at least for InkBox)
Avatar
yea gentoo manages better versions
1:53 PM
but for centos, fedora propably too its fucked
1:53 PM
with a new version, they move all versions and kill all backwards compability
Avatar
Btw qt6 is really hard to compile It's really different from 5
Avatar
lets stay on 5
1:55 PM
6 can even run on this old glibc?
Avatar
It seems
Avatar
Avatar
Szybet
lets stay on 5
We will have to move some day
Avatar
not now
1:55 PM
i want 2.0 :(
Avatar
Well, i think i'm a mess right now
5:48 PM
Hahahahha
Avatar
Avatar
Szybet
but you need to do this in qtcreator
I've been trying to make this work for over 40 minutes
5:48 PM
But i'm not able to
Avatar
whats the problem
Avatar
If all pf the things that i've done before are ok
5:49 PM
I'm lost here
5:49 PM
5:50 PM
I've created the launch_app.sh file
Avatar
its for runing things on the kobo from qtcreator
5:50 PM
its not needed
5:50 PM
skip this step
5:50 PM
Okay
5:51 PM
So now comes the "Install your custom Qt to kobo" step
Avatar
you need to be only able to build
5:51 PM
also skip it
Avatar
Avatar
Szybet
you need to be only able to build
^
Avatar
Okay
5:52 PM
5:52 PM
Guess that i'm not able to
Avatar
what are your kits
5:53 PM
I've copied everything from the guide
Avatar
well click run cmake
Avatar
why run cmake
5:54 PM
i don't even use cmake
5:54 PM
you do?
Avatar
Avatar
Szybet
well click run cmake
5:54 PM
Error
6:00 PM
idk
6:00 PM
install ninja on your system
Avatar
what are you even trying to compile
Avatar
Nothing, Szybet told me to make sure i can run cmake
Avatar
it seems you are trying to compile something which requires qt translations but then you aren't compiling anything idk
Avatar
Maybe it's because i made a proyect
6:04 PM
Gonna delete it
6:06 PM
So
6:07 PM
Now the "build" tab is grey
6:07 PM
And i can't use it
Avatar
what's qmake --version
Avatar
QMake version 3.1 Using Qt version 5.15.2 in /home/manuel/qt-bin/qt-linux-5.15.2-kobo/lib
Avatar
just cd into sanki directory
6:09 PM
then
6:09 PM
qmake && make -j8
6:09 PM
will probably work
Avatar
I've got an error
6:10 PM
main_menu/mainwindow.cpp:11:10: fatal error: zip.h: No such file or directory 11 | #include "zip.h" | ^~~~~~~ compilation terminated. make: *** [Makefile:3720: mainwindow.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from components/toast.cpp:5: ./globals.h: In function 'void global_fun::set_brightness(int)': ./globals.h:97:36: warning: unused parameter 'value' [-Wunused-parameter] 97 | inline void set_brightness(int value) { | ~~~~^~~~~
Avatar
you need to cross-compile libzip
Avatar
How do i?
6:10 PM
libzip is already installed
6:10 PM
In case it has something to do
6:12 PM
InkBox GUI bundle contents and generation script. Contribute to Szybet/gui-bundle development by creating an account on GitHub.
6:12 PM
do this
6:12 PM
so compile inkbox
Avatar
I tried, but i'm stuck at the second step
6:13 PM
Bc of the crosscompiling thing
Avatar
Avatar
tux-linux
qmake && make -j8
do that in inkbox dir, oobe-inkbox dir and lockscreen dir
Avatar
Okay
Avatar
btw, clone Szybet's rootfs repo because I didn't merge Wi-Fi yet (Glo HD issues)
Avatar
Avatar
tux-linux
do that in inkbox dir, oobe-inkbox dir and lockscreen dir
Done
Avatar
Avatar
tux-linux
btw, clone Szybet's rootfs repo because I didn't merge Wi-Fi yet (Glo HD issues)
Also done
6:15 PM
Hahahahha
Avatar
did you clone my gui-bundle repo or szybet's one? (edited)
Avatar
szybet's one
Avatar
show the contest of all build dirs
Avatar
Build_inkbox
6:27 PM
build_lockscreen/ Makefile eink.qss lockscreen.cpp lockscreen.o lockscreen.ui main.o moc_lockscreen.o qrc_resources.cpp resources.qrc README.md lockscreen lockscreen.h lockscreen.pro main.cpp moc_lockscreen.cpp moc_predefs.h qrc_resources.o ui_lockscreen.h
6:28 PM
build_oobe-inkbox/ Bitter-Medium.ttf NotoMono-Regular.ttf crimson.ttf left-black.png main.o oobe-inkbox oobewindow.o resources.qrc IbarraRealNova-Medium.ttf README.md eink.qss left-gray.png moc_oobewindow.cpp oobe-inkbox.pro oobewindow.ui right-black.png LICENSE checkbox-checked.png fraunces.ttf list.png moc_oobewindow.o oobewindow.cpp qrc_resources.cpp right-white.png Makefile checkbox-unchecked.png kobox-icon.png main.cpp moc_predefs.h oobewindow.h qrc_resources.o ui_oobewindow.h
Avatar
i dont se the executable in inkbox?
Avatar
I's there, but the witten message is cut
6:30 PM
Sorry
6:30 PM
It is shown on the left column of the image
Avatar
What should i do now
7:08 PM
?
Avatar
oh okay
7:09 PM
you should create now your update.isa
7:09 PM
sudo GITDIR=${PWD} ./release.sh ../private.pem 1.9
7:10 PM
something like that (edited)
Avatar
Avatar
ManuXD32
What should i do now
sorry for not replying, im fighting with niaudio
Avatar
Don't worry, i don't wanna bother u either
Avatar
Avatar
Szybet
sudo GITDIR=${PWD} ./release.sh ../private.pem 1.9
use the appropriate key
7:11 PM
Done
Avatar
did it work?
Avatar
yeah
Avatar
did you recompiled the kernel with your keys?
Avatar
did you runned the rootfs with my repo?
Avatar
Nope
7:12 PM
Don't know how to do that
Avatar
i already said it
7:13 PM
but with my repo
7:13 PM
not inkbox one
Avatar
Oh okay, let me see
7:14 PM
Sorry
Avatar
Avatar
ManuXD32
Sorry
no need to apologize
Avatar
Okay
7:21 PM
Done!
Avatar
everything?
8:23 PM
Just runned the rootfs
8:23 PM
So now i've got the rootfs.squashfs.dgst
Avatar
you signed it?
8:24 PM
now
8:24 PM
connect the sd card
8:24 PM
to pc
Avatar
Done
Avatar
dd if=zImage-root of=/dev/sdcard bs=512 seek=81920
8:25 PM
thats hwo you write the kernel
8:25 PM
on partition 3 you replace rootfs.squash and rootfs.squash.sqst with your files
8:26 PM
on p4 you put your update.isa in update folder ( it already exists )
Avatar
Avatar
Szybet
on partition 3 you replace rootfs.squash and rootfs.squash.sqst with your files
Can't write on it
Avatar
on the partition?
Avatar
your user doesnt have access to them for some reason
8:28 PM
use root
Avatar
okay
Avatar
Avatar
Szybet
on partition 3 you replace rootfs.squash and rootfs.squash.sqst with your files
Done
Avatar
Avatar
Szybet
on p4 you put your update.isa in update folder ( it already exists )
Done
Avatar
did you write the kernel?
Avatar
Avatar
Szybet
dd if=zImage-root of=/dev/sdcard bs=512 seek=81920
using this
Avatar
you put the correct dev device right?
8:33 PM
write sync in your terminal
8:33 PM
a couple of times
Avatar
inside distrobox?
Avatar
okay
Avatar
and then umount the device
8:34 PM
with umount command
Avatar
Under root?
Avatar
Avatar
Szybet
write sync in your terminal
How many times?
8:34 PM
There's no output
8:35 PM
good
8:35 PM
umount it
Avatar
Okay
8:35 PM
Done
Avatar
inject the sd card to the nia
8:36 PM
and launch it
8:36 PM
be carefull with the motherboard
Avatar
okayy
8:37 PM
Inkbox crash
8:37 PM
Error code: 5
8:39 PM
did you replace this file?
Avatar
I've used the correct rootfs.squashfs
8:39 PM
And the .dgst too
Avatar
But i've done nothing with overlaymount-rootfs.squashfs
Avatar
@tux-linux what does overlaymount mean
8:40 PM
i dont know
8:40 PM
we need to wait for him
Avatar
Okayy
8:40 PM
Thanks!!
Avatar
you are welcome
Avatar
Avatar
Szybet
@tux-linux what does overlaymount mean
small rootfs containing fuse-overlayfs
Avatar
1. why 2. how to recreate it
8:42 PM
actually
8:43 PM
can we sign just the one on the sd card once again?
Avatar
you never wondered why your rootfs can be writeable even if the squashfs is read-only?
Avatar
oh thats this
8:43 PM
makes sense
Avatar
2. you don't need to create it, it's always the same and (probably) will never change
8:43 PM
at least hasn't changed since 1.5
Avatar
Avatar
tux-linux
you never wondered why your rootfs can be writeable even if the squashfs is read-only?
😲
Avatar
so can we just sign it once more?
Avatar
yes
Avatar
ok cool
8:44 PM
@ManuXD32 on partition 2 and 3 remove overlaymount-rootfs.squashfs.dgst and sign it with your key
Avatar
Okay
8:45 PM
Should i replace rootfs.squashfs on partition 2 with my own?
8:45 PM
but hmm
Avatar
okay
Avatar
sign it too
8:46 PM
with your key
Avatar
My bad, i missread
8:50 PM
There's no rootfs.squashfs on p2
8:50 PM
Okay, just resigned the overlays
Avatar
Sync, umount and try it
8:50 PM
Right?
Avatar
niceee
8:52 PM
It has entered on a usb debug state
Avatar
hahahaha
Avatar
let me scan the qr
8:53 PM
Oh, there's no text on the page
Avatar
show me
8:53 PM
the screen
8:53 PM
take a picture
Avatar
why are there those lines...
8:54 PM
@tux-linux explanation
8:54 PM
i know its a fallback mode
8:54 PM
but why
Avatar
Don't know, they appeared when i took the other sd card
8:54 PM
Gonna reboot it and see if they dissappear
Avatar
really?
8:55 PM
wow
Avatar
They are from a manga i was reading
8:55 PM
I think it just didn't updated the screen there
Avatar
@NiLuJe can this be because of another waveform information in the sd card?
Avatar
Avatar
ManuXD32
Click to see attachment 🖼️
this^
Avatar
Well
8:57 PM
They does not dissappear 💀
Avatar
Avatar
Szybet
@tux-linux explanation
the screen is broken
8:57 PM
im asking why usb debug is there
Avatar
Avatar
tux-linux
the screen is broken
It was working a few hours ago
8:58 PM
Is there a way to fix it?
8:58 PM
dont panick
8:58 PM
stop
Avatar
Hahaha okay
Avatar
insert your old sd card with the original OS
8:58 PM
and try that
Avatar
it will not work
Avatar
Avatar
Szybet
im asking why usb debug is there
@tux-linux
Avatar
I've already tried that
8:58 PM
They stay the same
Avatar
did you disconnected the battery while the nia was opened?
Avatar
nope
Avatar
and here is your problem
8:59 PM
i said you need to be carefull...
Avatar
Avatar
Szybet
@tux-linux
Usually it happens when an error code is shown because of bad signature so you can fix it
Avatar
Avatar
Szybet
i said you need to be carefull...
probably pressed too much on the back of the ereader, then it cracked the screen
8:59 PM
you can buy another one
Avatar
Avatar
Szybet
and here is your problem
😩
Avatar
Avatar
tux-linux
probably pressed too much on the back of the ereader, then it cracked the screen
he could even short something on the motherboard
9:00 PM
well does touch work on the original OS?
9:00 PM
Even on top of those lines
9:01 PM
you learned something new from this situation
Avatar
Avatar
ManuXD32
Click to see attachment 🖼️
the lines are only horizontal?
Avatar
also the ereader is still usable
Avatar
Avatar
tux-linux
the lines are only horizontal?
yes
Avatar
try disconnecting and reconnecting the display cable
9:01 PM
but be careful
Avatar
Okay
9:02 PM
Stop
Avatar
disconnect the battery first
Avatar
carefully
Avatar
I've already done it
Avatar
and then press the power button for 5 s
Avatar
Avatar
Szybet
disconnect the battery first
no need to
Avatar
Avatar
tux-linux
no need to
.............. yea
Avatar
I disconnected the display plenty of times on my ereaders without disconnecting the battery you just need to power off the device before
Avatar
i just like safety okay?
Avatar
Any tip for disconnecting the display?
Avatar
like if you have a bit of static in you you can kill it eassly...
Avatar
Avatar
ManuXD32
Any tip for disconnecting the display?
wait
Avatar
okay
Avatar
it's not like you disconnect the battery every time you replace the sd card?
Avatar
Avatar
tux-linux
it's not like you disconnect the battery every time you replace the sd card?
i do and you won't stop me ;p
9:04 PM
well i did
Avatar
i must have done it 500 times never broke one like that
Avatar
now i have an external sd card
Avatar
and in what way is it more safe?
Avatar
Avatar
tux-linux
i must have done it 500 times never broke one like that
Might it be because it was sleeping?🧐
Avatar
maybe it's always a good idea to hotswap components when your ereader is turned on...............................
Avatar
force power off is sufficient
Avatar
here is the picture
Avatar
Avatar
tux-linux
maybe it's always a good idea to hotswap components when your ereader is turned on...............................
uh
Avatar
@tux-linux can you describe the process in english?
Avatar
Avatar
Szybet
here is the picture
okay, thanks
Avatar
with my english i can mess things up
Avatar
Avatar
Szybet
@tux-linux can you describe the process in english?
By any case are you spanish?
Avatar
Avatar
tux-linux
and in what way is it more safe?
what exactly are you asking about
Avatar
Avatar
Szybet
@tux-linux can you describe the process in english?
lift the black tip near the white thing in the picture
Avatar
Avatar
ManuXD32
By any case are you spanish?
no, polish
Avatar
then pull the connector out
Avatar
Avatar
tux-linux
lift the black tip near the white thing in the picture
Okay
Avatar
Avatar
Szybet
no, polish
Cool
Avatar
and reseat it, then lock the black tip in place
Avatar
Done
Avatar
Avatar
tux-linux
and reseat it, then lock the black tip in place
So i have to plug in the battery again?
Avatar
after that
Avatar
Don't really know how to reset it
Avatar
re-s e a t it
9:08 PM
ups
Avatar
= just put it into place again
Avatar
Okay, done
9:09 PM
The lines doesn't dissappear
Avatar
well did you turned it on?
Avatar
then there is probably nothing to do
Avatar
well as i said 1. you learned something 2. the reader is still usable
9:11 PM
Something's something i guess
Avatar
for sanki you can even cut the upper part off and have a smaller screen
9:11 PM
but you would need to do this yourself
Avatar
or you can use the emulator
9:12 PM
but I suspect it's not the usecase you want
Avatar
still usable in my opinion
Avatar
Well, i can still read over the lines
9:13 PM
So it's not that bad
Avatar
@tux-linux does something on p4 need to be signed?
9:13 PM
apart of update
9:14 PM
@ManuXD32 do you want to continue?
9:14 PM
I do
9:14 PM
Hahahahah
Avatar
Avatar
Szybet
@tux-linux does something on p4 need to be signed?
gui_rootfs.isa (edited)
Avatar
Avatar
tux-linux
gui_rootfs.isa (edited)
thats propably that
9:14 PM
get the sd card
Avatar
Avatar
tux-linux
gui_rootfs.isa (edited)
Oh okay
Avatar
and sign this file above
Avatar
Going to
Avatar
and sync umount
9:15 PM
and try again
Avatar
if it boots into usb debug then you can access it with telnet
9:15 PM
from usbnet
Avatar
he needs to get openssl anyway
9:15 PM
so take the sd card off
Avatar
it is already there
Avatar
dont complicate things
Avatar
it's not complicated
9:16 PM
you want safety
9:16 PM
you're contradicting yourself
Avatar
well actually
9:16 PM
yea true
9:16 PM
but the ereader is already damaged
9:16 PM
he learned about safety
Avatar
once the display becomes cracked, it is very fragile
9:17 PM
everything can make it worse
Avatar
Okay, usb debug has appeared again
9:24 PM
Do i use telnet?
Avatar
yes
Avatar
okay
Avatar
interface ip 192.168.2.2
9:25 PM
so you need to configure your computer to be 192.168.2.1
Avatar
i have no idea then what went wrong
Avatar
Avatar
tux-linux
so you need to configure your computer to be 192.168.2.1
Uhhhm don't know how to do that
Avatar
ifconfig usb0 192.168.2.1
9:27 PM
and turn off NetworkManager (edited)
Avatar
Connection refused
Avatar
ifconfig -a?
Avatar
are you using ethernet? or wifi?
Avatar
Wifi
Avatar
then you need to use enp4s0f3u2
Avatar
But i've disconected it
9:38 PM
Okay done
9:38 PM
Now what?
9:38 PM
It says inkbox login
Avatar
root, then enter
Avatar
It doesn't work
9:44 PM
Can't write on the line
Avatar
Avatar
tux-linux
and turn off NetworkManager (edited)
.
Avatar
sudo systemctl stop NetworkManager
Avatar
It says that networkmanager.service was not loades
Avatar
NetworkManager
Avatar
sudo systemctl stop NetworkManager
9:45 PM
sudo systemctl stop NetworkManager
9:45 PM
sudo systemctl stop NetworkManager
Avatar
Sorry, i'm dumb
Avatar
you learn*
Avatar
Thanks hahaha
9:47 PM
Well, it worked, i'm inside
Avatar
unsquashfs /opt/key.sqsh -d key
9:49 PM
openssl dgst -sha256 -verify key/public.pem [p4]/gui_rootfs.isa.dgst
Avatar
No signature to verify: use the -signature option
9:51 PM
Do i use it?
9:51 PM
Or am i gonna mess everything again hahahaha
Avatar
openssl dgst -sha256 -verify key/public.pem -signature [p4]/gui_rootfs.isa.dgst [p4]/gui_rootfs.isa
10:05 PM
Just noticed that i forgot the last part of the command
Avatar
yyyyyyyy
10:05 PM
yea...
Avatar
But still getting the same error
10:07 PM
Avatar
[p4] is your mounted fourth partition
10:08 PM
you need to rerplace that
Avatar
But the kobo is not mounted
Avatar
mount /dev/mmcblk0p4 /mnt
Avatar
No such file or directory
10:16 PM
Forget it
Avatar
ls /dev?
Avatar
output?
Avatar
Avatar
tux-linux
openssl dgst -sha256 -verify key/public.pem [p4]/gui_rootfs.isa.dgst
I mean this
10:17 PM
The mounting has worked out
10:17 PM
The output is
10:17 PM
Verified ok
Avatar
then try reboot
Avatar
Avatar
tux-linux
openssl dgst -sha256 -verify key/public.pem -signature [p4]/gui_rootfs.isa.dgst [p4]/gui_rootfs.isa
This*
10:18 PM
Okay
10:18 PM
No output
10:19 PM
And it doesn't kick me out of the telnet
Avatar
what's the screen looking like
Avatar
did you sign overlaymount-rootfs.squashfs in partition 2 too?
Avatar
get into telnet again and run /etc/init.d/rcS, then post the full output
10:24 PM
After that it has rebooted
10:24 PM
With error 4
10:24 PM
Avatar
echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872
Avatar
sync && reboot
Avatar
Usb debug again
Avatar
Avatar
tux-linux
get into telnet again and run /etc/init.d/rcS, then post the full output
do this again then (edited)
Avatar
And still error 4
10:32 PM
I've rebooted it manually 😓
10:33 PM
I think i'm gonna call it a day
10:34 PM
Will try again tomorrow
Avatar
Avatar
ManuXD32
I've rebooted it manually 😓
output?
Avatar
Avatar
tux-linux
output?
No output
10:34 PM
I mean
10:34 PM
I pressed the button
Avatar
/etc/init.d/rcS and post the output
Avatar
It's not on usb debug anymore
10:35 PM
And i cam't run the command
Avatar
then what is it on?
Avatar
On error 4
10:36 PM
Avatar
reboot it and it will go into usb debug
10:38 PM
10:38 PM
That's it
Avatar
you need to sign the recoveryfs
Avatar
And it has booted again as error 4
10:39 PM
Oh okay
10:44 PM
Done
10:44 PM
Usb debug again
Avatar
Avatar
tux-linux
/etc/init.d/rcS and post the output
I'm running this again
Avatar
yes, ok
10:45 PM
This is the output
10:46 PM
And the kobo is still on usb debug
Avatar
do the same thing but with sh -x /etc/init.d/rcS
10:47 PM
and post output
10:48 PM
10:49 PM
10:49 PM
Avatar
Avatar
tux-linux
echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872
did you do this for real
10:50 PM
Nop
10:50 PM
When you told me yes
Avatar
then what is the output of dd if=/dev/mmcblk0 bs=512 skip=79872 count=1?
Avatar
echo rooted | dd of=/dev/mmcblk0 bs=512 seek=79872 dd if=/dev/mmcblk0 bs=512 skip=79872 count=1 run this
10:56 PM
dd: standard output: illegal seek
10:56 PM
Right after the first command
10:57 PM
Forget that message
10:57 PM
I wrote if instead of of
10:58 PM
Avatar
sync and reboot
11:01 PM
It was boot8ng
11:01 PM
But
11:01 PM
Error 2
11:01 PM
11:02 PM
I signed the gui
11:02 PM
Avatar
run sh -x thing
11:03 PM
11:04 PM
11:04 PM
11:04 PM
Avatar
reboot and do the same thing, but before, ensure that cat [p1]/flags/BOOT_USB_DEBUG is false (edited)
Avatar
It is
Avatar
then do the same sh -x thing
11:07 PM
11:07 PM
Booting again
11:07 PM
But suddenly
11:08 PM
Avatar
output?
Avatar
verify the signature of gui_rootfs.isa, it isn't valid
Avatar
Avatar
tux-linux
openssl dgst -sha256 -verify key/public.pem -signature [p4]/gui_rootfs.isa.dgst [p4]/gui_rootfs.isa
With this?
Avatar
Wich partition is gui in?
11:12 PM
11:12 PM
Can't find it
Avatar
why are you doing that
11:13 PM
you deleted it then
11:13 PM
put it back in
11:13 PM
and sign it again
11:14 PM
So i have to reflash the kernel
11:14 PM
Right?
Avatar
Then i don't know where to find those files
11:17 PM
I uploaded it you need to sign it
11:17 PM
Thanks
👍 1
11:27 PM
It was booting but
11:27 PM
Error code 6
11:27 PM
11:27 PM
I've done the sh -x thing
Avatar
Did you put update.isa in p4?
Avatar
I did, but for some reason i got removed
11:36 PM
I've put it again
11:36 PM
And resigned it
11:36 PM
Gonna try
11:39 PM
It booted
11:40 PM
But
11:40 PM
It's stuck
11:40 PM
11:40 PM
11:41 PM
The output of sh -x ...
Avatar
How much time did you wait?
Avatar
A couple of minutes
11:42 PM
But it is still stuck
Avatar
What's the size of update.isa
Avatar
38,6 MB
Avatar
I would need serial port output
11:46 PM
I'm assuming it is in the output of sh -x ...
Avatar
You don't have an onboard filesystem
11:47 PM
dd if=/dev/zero of=[p4]/onboard bs=1M count=512 (edited)
11:47 PM
Nooooooo
11:48 PM
Wait
11:48 PM
Ok you can run it now, edited
11:49 PM
Then sync and reboot
Avatar
Avatar
Szybet
@NiLuJe can this be because of another waveform information in the sd card?
Looks like a badly seated flex cable
Avatar
we did make him reseat it
12:38 AM
but no luck
Avatar
A few pins or whatever those are called torn then?
12:39 AM
The few vertical ones are slightly more worrisome (edited)
Avatar
Maybe
Avatar
Unless it's a very very very neat substrate crack
Avatar
yeah
12:40 AM
it is looking a bit strange
Avatar
Which I guess could happen if the glass had a perfect fault-line
12:41 AM
But it's usually more jagged when it actually cracks
Avatar
So is there still a chance that it can be fixed??
Avatar
Avatar
tux-linux
Then sync and reboot
Also, no luck with this
12:49 AM
Still stuck
Avatar
what is sh -x output?
Avatar
I think that something in the process must have deleted some files
12:50 AM
Like the gui or update ones
12:50 AM
So maybe that's the problem
12:50 AM
I think i'll try again tomorrow from scratch
Avatar
Avatar
tux-linux
what is sh -x output?
?
12:51 AM
That
Avatar
what does it show on the screen?
Avatar
hm ok
Avatar
Avatar
ManuXD32
I think i'll try again tomorrow from scratch
then do that
12:54 AM
good night 👋
Avatar
Good night!!
👋 1
12:56 AM
Thanks for your help
👍 1
Avatar
Avatar
tux-linux
we did make him reseat it
there are actually more flex cables going to thescreem on the nia
12:59 AM
but i think this is the correct one
Avatar
I've noticed that that one controls the touch
1:00 AM
1:00 AM
And those, the little one controls the backlight and the big one controls the display itself
Avatar
the big one is the screen
Avatar
id this is the eink
1:07 AM
then you pulled the wrong flex cable out
1:07 AM
🥴
1:07 AM
my bad
Avatar
ProTip: The one with a giant codebar and a VCOM value on it is always the screen ;). (edited)
1:13 AM
might be a datamatrix on some boards, but the principle usually stands
Avatar
Avatar
NiLuJe
ProTip: The one with a giant codebar and a VCOM value on it is always the screen ;). (edited)
Hahahah i'd take it into account
Avatar
Avatar
Szybet
then you pulled the wrong flex cable out
The big one didn't work either so it doesn't matter hahaha
Avatar
did you gived up?🧐
Avatar
Nope
2:42 PM
But i'm back at uni so i've got less time
2:42 PM
Tumorrow i've got some free time so i'll repeat the process to see if i failed at something
2:42 PM
😓
Avatar
okay, understandable
Avatar
^0 time i see
11:45 PM
anyway inkbox is mit livensed right? so we allow corporations to steal our code and use it in a closed source project?
11:46 PM
That's a thing?
Avatar
if i remember correctly and i remember an other thing correctly, yes
12:10 AM
What's making you say that
12:11 AM
An open-source, Qt-based eBook reader for Kobos. Contribute to Kobo-InkBox/inkbox development by creating an account on GitHub.
Avatar
then i dont rememver things correctly🥴
Avatar
Running into the same error I got when trying to compile a different error, for which I was unable to find a definitive answer as to what is causing it (nor a solution): include/linux/compiler-gcc.h:91:1: fatal error: linux/compiler-gcc11.h: No such file or directory 91 | #include gcc_header(__GNUC__) | ^~~~~ (edited)
Avatar
what are you trying to do
Avatar
https://github.com/Kobo-InkBox/kernel, following the build instructions from here
4:22 PM
Though it may have been me mixing up compiling and building 😅
Avatar
your command?
Avatar
sudo GITDIR=/home/USER/Ereader/Inkbox/kernel-master TOOLCHAINDIR=$GITDIR/toolchain/gcc-4.8 TARGET=arm-linux-gnueabihf THREADS=4 scripts/build_kernel.sh n613 std Got the same error when using the other directories available in the toolchain folder
Avatar
wrong toolchain propably
4:58 PM
use kobo
4:59 PM
the kobo one
Avatar
arm-kobo-linux-gnueabihf ?
5:00 PM
Or the official one from the Kobo github?
Avatar
from the inkbox kernel repo
Avatar
Avatar
Szybet
from the inkbox kernel repo
That one gave the same error :/
Avatar
show me the comand that you used
7:15 PM
i will try myself
Avatar
okay
7:17 PM
sudo GITDIR=/home/USER/Ereader/Inkbox/kernel-master TOOLCHAINDIR=$GITDIR/toolchain/arm-kobo-linux-gnueabihf TARGET=arm-linux-gnueabihf THREADS=4 scripts/build_kernel.sh n613 std
Avatar
env GITDIR="${PWD}" TOOLCHAINDIR="${PWD}/toolchain/arm-nickel-linux-gnueabihf/" THREADS=$(($(nproc)*2)) TARGET=arm-nickel-linux-gnueabihf scripts/build_kernel.sh n613 root
7:18 PM
well try this
Avatar
Sweet, that worked 😄 (edited)
9:39 PM
you need to replace the keys
9:40 PM
im sure its written in the channels i writed you yesterday
Avatar
That'd be the nrpoc you've put in the THREAD part of the command then?
Avatar
outputs number of your threads in cpu
Avatar
Yeah, but is that what you meant with the keys I had to replace? 😅 Or does it have to do with the root and/or env part you changed?
Avatar
your problem was toolchain and target variabler
Avatar
and?...
Avatar
Currently working on the bootloader
5:14 PM
I've created a .bin file, currently working out how to get the partitions correct (edited)
Avatar
well just talk to me
7:47 PM
because as i said, you dont need partitions if you already have an inkbox install
7:47 PM
did you replaced the keys in the kernel?
7:48 PM
also bootloader also isin't needed, but cool that you are figuring this out
Avatar
Avatar
Szybet
did you replaced the keys in the kernel?
Ah haven't gotten to that part yet. If I find time today (have some studying to do, so not sure) I'll get started on that.
👍 1
10:19 AM
I did miss the part about not needing the partitions, but eh, it's honestly quite interesting and useful to learn all this :)
Avatar
Didn't get the screen to flash with the bootloader I compiled, so leaving that for the moment. Currently on the rootfs, I created the keys using the commands from the Nia manual, however when trying to sign it I get an error saying that rootfs.squashfs does not exist (it isn't in the file tree either).
12:14 PM
sudo openssl dgst -sha256 -sign private.pem -out rootfs.squashfs.dgst rootfs.s quashfs error throws after this command
Avatar
you need first to create the rootfs
1:28 PM
maybe first focus on the kernel
1:28 PM
and bootloader
1:28 PM
maybe try to get a serial connection with u-boot?
👍 1
Avatar
(just so you're aware, I was sick all weekend so wasn't really able to work on it. Still feeling a bit out of it too at the moment 😅 )
Avatar
Take care
Avatar
"Zdrowiej"
Avatar
Avatar
tux-linux
Take care
wow, you are alive
Avatar
Avatar
Slalamander
(just so you're aware, I was sick all weekend so wasn't really able to work on it. Still feeling a bit out of it too at the moment 😅 )
good that you are reporting why are you offline, so we dont lose hope
Avatar
Avatar
Szybet
wow, you are alive
yes................
Avatar
yes with a lot of dotes
Avatar
barely I've got Christmas masses to practice for And a truckload of exams
9:09 PM
you said something about piano playing in late december
Avatar
More like organ playing
Avatar
so i dont even try to bother you, I just leave messages for the future
Avatar
Avatar
tux-linux
More like organ playing
oh yea, that
Avatar
beautiful ones
9:12 PM
Description de l'orgue de l'église Sainte-Thérèse-d'Avila de Blainville, (Québec) / Description of the in St. Therese d'Avila church in Blainville, Québec
Avatar
i see pretty old ones
Avatar
Yes but a lot of Europe churches have organs dating from <1750
9:27 PM
in mine place too i think
👍 1
Avatar
Avatar
tux-linux
barely I've got Christmas masses to practice for And a truckload of exams
I can relate but probably not as much as you... otherwise I'd be a lot more active here
Avatar
damn it's gonna take a lot of motivation to impress the ladies at campfire with organ skills
Avatar
Avatar
Aramir
damn it's gonna take a lot of motivation to impress the ladies at campfire with organ skills
you get 3 those keyboards electric small pianos something and it will do the thing
Avatar
+pedalboard
5:06 AM
and you can have up to 7 keyboards (edited)
5:06 AM
Though it's a bit overkill, granted
Avatar
Nicolas you should do martial arts
6:04 AM
It's fun
Avatar
Avatar
tux-linux
and you can have up to 7 keyboards (edited)
are ypu a machamp?
7:29 AM
Avatar
Avatar
Szybet
are ypu a machamp?
Well, I can play three keyboards at most at the same time
1:43 PM
Different keyboards often butcontain different registrations
1:43 PM
(sounds)
Avatar
very cool music
👍 1
2:29 PM
and
2:29 PM
1.5h? impressive
Avatar
Avatar
tux-linux
Well, I can play three keyboards at most at the same time
you didnt disagree then 😆🥴
Avatar
Avatar
Szybet
are ypu a machamp?
you play pokemon?
Avatar
Avatar
dill
you play pokemon?
no
3:39 PM
im just nostalgic to my childhood
Avatar
Avatar
dill
you play pokemon?
also pokemon is an anime, not a game 😩 (edited)
Avatar
Avatar
Szybet
also pokemon is an anime, not a game 😩 (edited)
no
3:40 PM
not if you have a nintendo switch
Avatar
Avatar
Szybet
im just nostalgic to my childhood
lol me too
Avatar
Avatar
dill
not if you have a nintendo switch
i play the games
Avatar
Avatar
dill
lol me too
you... are still a child young teenager
Avatar
Avatar
Szybet
you... are still a child young teenager
I've had pokemon cards for 9 years though
Avatar
Talking about pokemons ?
8:17 PM
8:18 PM
And I vividly remember back then my parents forbidding me to watch pokemon because it was too dumb.
8:18 PM
Aaaaand I can't be mad at them for that.
Avatar
Avatar
Aramir
And I vividly remember back then my parents forbidding me to watch pokemon because it was too dumb.
what cartoons / anime are smart then?
Avatar
I mean there's a bunch ...
8:27 PM
I wouldn't say pokemon is necessarily horrible, but it's definetly over-hyped and its success a result of a crushing marketing campaign.
8:27 PM
I didn't miss growing without it even when it was at its peak of popularity.
8:29 PM
But just in case, trying to keep it down to "stuff that a kid might like and I can think off the top of my head cause I watched them back then" :
  • toy story
  • chicken run
  • pretty much every ghibli, comix wave, Satoshi Kon
  • The Black Cauldron
  • Wolfwalkers
  • shrek
8:30 PM
heck even throw some disney in there too. Most of them are inoffensive.
Avatar
those are smart?
Avatar
those are not taking kids for dumb dumb
8:31 PM
Not necessarily smart requiring some literature degree / ton of culture that you don't have as a kid.
Avatar
i dont see much diffrence between pokemon and shrek in the sense of stupid / smart
Avatar
Whereas Pokemon as I remember was cheap looking (even for back then), really bad dialogue lots of yelling / high pitched voices for no reasons (was watching true-french dubbed version of course)... And the message conveyed was "yeaaaaah power of friendship and trusting strangers is fun, go on an adventure kids and don't forget to make animals fight each others"
Avatar
Avatar
Aramir
Whereas Pokemon as I remember was cheap looking (even for back then), really bad dialogue lots of yelling / high pitched voices for no reasons (was watching true-french dubbed version of course)... And the message conveyed was "yeaaaaah power of friendship and trusting strangers is fun, go on an adventure kids and don't forget to make animals fight each others"
... shrek has literally a race war
Avatar
Shrek ... I guess you had to be there at that time. It was :
  • one of the first computer generated movies that wasn't looking like absolute trash
  • it was written for both kids and adults. Kids wouldn't miss a reference and feel dumb about not getting but parents would definitely catch them
  • it was obviously a parody / retelling of the old same princess tale but modernised
  • and yes it tackled some subject such as race war... Yet it wasn't so much in your face as to bore the kid, nor trying to take itself too seriously and become a documentary. It walked the line pretty well. Would I consider it a masterpiece, must watch, kiss chef, such a chef d'oeuvre. Meh probably not but it's definetly worth a watch and wasn't taking kids for big big dummies but instead future adults with functioning brain.
8:41 PM
ps : I haven't watched any of the pokemon OAV. My knowledge of pokemon consists of ... parts of the first two seasons. The card game (that was dope), and video games that I played on friend's gameboy.
8:42 PM
Sorry Nicolas for erasing your game save by the way... But how was I supposed to know that "new game" doesn't mean "sure here you can try to the game from the start until you save" but actually meant "oh surely you meant 'I want to erase all of my saves' AND start a new game".
8:43 PM
I didn't know, I didn't mean it
Avatar
Avatar
Aramir
Sorry Nicolas for erasing your game save by the way... But how was I supposed to know that "new game" doesn't mean "sure here you can try to the game from the start until you save" but actually meant "oh surely you meant 'I want to erase all of my saves' AND start a new game".
wait you two know each other in real life?
Avatar
No, it was another Nicolas XD
8:47 PM
🥴
Avatar
But yeah would I forbid my kid to watch pokemon or something similar ? Meh I don't know, probably not... There's much much worse out there.
8:51 PM
Teletubbies, pat patrol, Peppa Pig, those hell-ish youtube videos with grown ups playing around in spiderman cosplays
8:56 PM
But now I want to know what you consider as smart anime show/movie that you watched as a kid/child. (Cause I'm curious and I might discover some) (edited)
8:57 PM
Cause there's a bunch out there, even more nowadays than back then.
8:57 PM
It wasn't better in the old days as they say.
9:00 PM
Oh and btw it's ok to like bad stuff... Heck I like equilibrium.
Avatar
Avatar
Aramir
But now I want to know what you consider as smart anime show/movie that you watched as a kid/child. (Cause I'm curious and I might discover some) (edited)
only one, USSR one, that a smart boy helped his parrents at a household in a smart way, like loading bricks to the roof using an electric motor, and before it he explained it in a basic way on his greenboard
Avatar
got me curious
9:04 PM
only USSR kid shows I know are the weiiiiird ones you see on youtube
9:05 PM
the ones that could send any one into depression just by looking at it for more than 10 secs, or the ones that look like copy of copy of copy, or the propaganda stuff (edited)
Avatar
well this one was original
9:05 PM
¯\_(ツ)_/¯
Avatar
title ?
Avatar
no idea
9:05 PM
i was 3 years old
9:05 PM
maybe 4
9:06 PM
Or or or there was actually some great ones that were made by a literally a couple over years and years of work
9:07 PM
Saw a documentary about them, they were crazy (in the good sense), they had made their own multi layer machinery so they can stack up celluloids (edit : multiplane camera). (edited)
9:07 PM
brb gonna look it up
9:09 PM
that's definitely not kid stuff (at least it doesn't seem to be) but very intriguing. (edited)
Avatar
I'm trying to open an epub file but when I hit open it freezes up and I have to reset the device. I'm using a kobo glo btw.
Avatar
for how long did you waited
4:45 PM
how big is the epub file
Avatar
overnight
4:46 PM
60mb
4:46 PM
the current reader doesn't work well with big files (edited)
4:46 PM
i'm working on a better one
4:47 PM
but you can send the epub, i will test it on my device, it should work anyway, not just freeze forever
Avatar
I'll try a smaller one
Avatar
also, detecting corrupted epubs was added only recently so not in 1.9
Avatar
I'm also curious, would just alpine Linux work on the kobo or would I need all the drivers?
5:05 PM
there is literally alpine under the hood in inkbox
5:05 PM
3.10 version sadly
Avatar
I know inkbox is alpine based but if I just flashed alpine to the ad card would it boot?
Avatar
you can use apk
5:05 PM
no, its much more complicated
5:05 PM
;p
Avatar
I see
5:09 PM
what else is on top of it?
5:09 PM
besides the custom software
Avatar
on top of inkbox?
5:10 PM
or alpine
Avatar
on top of the alpine base to make it work on the kobo
Avatar
you mean below alpine 1. uboot 2. kernel provided by the manufacturer, custon modified to make it work 3. initrd with busybox 4. filesystem parkour, propably nit needed byt im not sure
5:15 PM
why do you ask?
Avatar
I'm just curious
Avatar
Avatar
Kaktoose
60mb
It's probably not a good idea
Avatar
another question, where is it getting the time from? I'm not connected to wifi
Avatar
the charger IC has an integrated clock
Avatar
It syncs to NTP when connected too
Avatar
Avatar
Szybet
you mean below alpine 1. uboot 2. kernel provided by the manufacturer, custon modified to make it work 3. initrd with busybox 4. filesystem parkour, propably nit needed byt im not sure
3:12 AM
It's actually an entirely custom base + an Alpine chroot on top (edited)
3:12 AM
Main Alpine rootfs is in a mountable squashfs to save space (edited)
3:13 AM
You can achieve read-write with fuse-overlayfs or unionfs, depending on the device
Avatar
so ui scalling is removed?
4:12 PM
It's always enabled
4:17 AM
Fast eInk on Boox Note Air 2 Plus
4:18 AM
sadly screen is only 227 ppi
4:20 AM
There is one place where Discord's light mode is actually useful
Avatar
Hello im absolutely newbie on discord. Where i can find inkbox image 2.0 for kobo mini?
Avatar
2.0 isint released yet, unnoficial with missing features, but its almost there
3:51 PM
you need to compile it yourself
Avatar
hi everyone! new to this channel, just a quick summary of my experience so far:
Avatar
Hi, please also provide the version, maybe your problems are fixed
Avatar
First of all inkbox works on the tolino shine! Because that is basically a kobo glo rebranded. Everything works, except the backlight button not doing anything. I think that's really huge, because tolino is really, really popular here in Germany. I think the tolino shine 2 hd (= kobo glo hd) and toline page 2 (= kobo nia) might work out of the box as well, but I do not have the hardware to try it out. Using the latest version 1.9 now. One big disadvantage is that I do not seem to have wifi. Is wifi working on the kobo glo? That's the only real downside compared to the stock firmware currently. Support for different languages would be nice, but english is fine for me, too. I also figured out how to make the usb storage larger, should I add that info to the wiki somewhere? That's all, inkbox has been awesome so far!
👍 2
Avatar
Cool to know about tolino! If you want, you can add support for the button if you know a bit about linux and programming Wifi was figured out, but i dont know if for 1.9. Please see release notes for this, if not, you need to update to latest dev version to enable wifi. For 2.0 it will be there We also know about the hack for making it larger, we plan to automate the process in the future. You can add it to the wiki for sure, any contributions are welcome
11:28 AM
@tux-linux maybe adding that tolinos work too propably is a good idea?
Avatar
tolino shine confirmed working, page 2 and shine 2 hd just my suspicion that they work, probably someone should try it first! Maybe me if I get one for cheap. I got ok linux knowledge I'd say and minimal programming skills. Could you point me in the right direction to getting the backlight button to do something?
Avatar
It depends of what do you want it to do
11:34 AM
Well if i could get any ereader for cheap i would buy it and port it
Avatar
well on the stock firmware this button toggles the backlight on and off, and the brightness of the backlight is set in the gui. Would be nice to have that functionality, or even better: Have it toggle through backlight off and different brightness settings (10%, 20%, ...) when pressing the button.
Avatar
Avatar
Szybet
Well if i could get any ereader for cheap i would buy it and port it
good attitude 😄 I just started using inkbox because I got the tolino shine for <10€.
Avatar
This is easly done with inkbox power daemon, you can add it, basic cpp required
11:40 AM
There are already functions, watcher, like one additional int and an if
Avatar
Avatar
shwanzy
good attitude 😄 I just started using inkbox because I got the tolino shine for <10€.
Woah, i have been ssarching for a damaged - but repeirable one and i couldnt find anything at that price
Avatar
Avatar
Szybet
This is easly done with inkbox power daemon, you can add it, basic cpp required
will see if I can figure it out!
Avatar
Avatar
Szybet
Woah, i have been ssarching for a damaged - but repeirable one and i couldnt find anything at that price
tbf I got one with a broken screen for free, and got one with broken everything but screen for <10€. But here in germany you get them in working condition for around 10€ all the time. Spoiler: You will most likely break the front housing when opening it, if it's not already broken. At least that happened to me on both devices, the material is just very weak. You might have to 3d print a replacement and that might or might not be better, we will see in a few days!
Avatar
For kobo its not the case with... The case
12:03 PM
Also i created a 3d printed case for the nia anyways
Avatar
Avatar
shwanzy
tbf I got one with a broken screen for free, and got one with broken everything but screen for <10€. But here in germany you get them in working condition for around 10€ all the time. Spoiler: You will most likely break the front housing when opening it, if it's not already broken. At least that happened to me on both devices, the material is just very weak. You might have to 3d print a replacement and that might or might not be better, we will see in a few days!
On germany ebay?
Avatar
"ebay kleinanzeigen" is cheaper!
Avatar
Is this a local section of ebay?
Avatar
yes its like "ebay small ads" or something
12:28 PM
Tolino Shine 1 Der Shine hat eine Macke im Rahmen ohne Funktionseinschränkungen. Beleuchtung...,Tolino Shine eBook Reader in Nordrhein-Westfalen - Sundern (Sauerland)
12:28 PM
feg
Avatar
Avatar
Szybet
@tux-linux maybe adding that tolinos work too propably is a good idea?
We need to test it first...
Avatar
This one works for sure
Avatar
Avatar
shwanzy
yes its like "ebay small ads" or something
Will the sellers sent it to poland?
Avatar
i don't know, almost everyone is a private seller, you can ask them! All I can tell you is prices: regular package to poland without insurance is 6€ with DHL, might even get it cheaper if you send it as "big letter" or something. Parcel with insurance is around 10€ with DPD or Hermes.
1:20 PM
If you want I can keep an eye out for a cheap tolino shine and send it to you.
Avatar
Im looking out for any regularly, even for damaged ones, i can repair them propably if its not the screen
1:59 PM
But if you would found one, send it for sure, thanks
Avatar
Big letter... This needs to be bubble wrapped for the eink display to survive
Avatar
nah i was wrong big letter international is for documents only it seems, 6€ with dhl the cheapest option i can find.
Avatar
Its still a good price
2:34 PM
What does VB as price stand for
Avatar
"verhandlungsbasis", meaning price can be negotiated.
Avatar
Cool, but i wobt try because im not interested in those books on it
3:01 PM
The seller advertised it with books😒
8:23 PM
fixed case up as good as possible, looks good!
Avatar
Well, nice
9:00 PM
What is your device model
9:00 PM
Exactly
Avatar
"tolino shine", no additional model number that i know of
👍 1
Avatar
look up on the case on the bottom
9:17 PM
next to the charging port
9:25 PM
9:26 PM
thats from the second housing i got... but there really is nothing on either
9:26 PM
just tolino shine
Avatar
is it 0560 for every tolino or not
9:26 PM
just a serial number
Avatar
Avatar
shwanzy
Click to see attachment 🖼️
SUCH A COOL THING THIS SLIDER
Avatar
not sure I think it's just the ce notified body number
9:31 PM
not a model number
Avatar
Avatar
Szybet
SUCH A COOL THING THIS SLIDER
its a cute little thing, only downside really is the cheap plastic! Internals seem to be fine, considering how old it is and still working fine.
Avatar
well then no code number then
Avatar
Not really. There is a serial number that seems to be a different one for every device. And you can just look it up in the stock os, not printed on the hardware itself. And last but not least: There are two different versions of the shine. There is almost no difference between them. The second version has a butterfly on the case, most of the times the first version does not. Only way to know for sure is looking at serial number: if it's below 20311241 it's the older revision. Hardware wise the only difference seems to be the second version being able to refresh screen every 6 pages instead of every 8 pages. That's it.
9:45 PM
Der Tolino Shine (Eigenschreibweise: tolino shine) war ein E-Book-Reader, der in Deutschland, Österreich, Südtirol und der Schweiz seit März 2013 in Zusammenarbeit der Deutschen Telekom mit den Buchhändlern Thalia, Weltbild, Hugendubel, dem Buchgroßhändler Libri sowie der Osianderschen und der Mayerschen Buchhandlung neben weiteren Geräten der M...
9:45 PM
(general info)
9:45 PM
(info on the two different versions)
Avatar
well then we shouldnt care about those versions
9:46 PM
the butterfly one uses a better sreen, thats all
Avatar
yeah just writing it down for the record ^^ I guess as long as there are no issues with the screen for anyone, no reason to differentiate.
9:47 PM
btw how cool is micro sd card as internal storage? why isn't it always like this with phones etc? Really awesome.
Avatar
Avatar
shwanzy
btw how cool is micro sd card as internal storage? why isn't it always like this with phones etc? Really awesome.
size i think, but yea its awesome
Avatar
Avatar
shwanzy
Click to see attachment 🖼️
is there a second storage inside? (edited)
Avatar
there is two micro sd slots, one internal, one accessible from the outside
Avatar
ok cool
9:50 PM
inkbox doesnt have support for the external one
Avatar
guessed so
Avatar
well you can add it always
Avatar
just took out the original card and use an 16gb card instead, honestly more space than I could ever fill with books
9:51 PM
I think you are overestimating what I can do 😄
9:52 PM
I'm already totally lost with the button thing... and I just realized this has a home button, too!
Avatar
Avatar
shwanzy
I think you are overestimating what I can do 😄
you can always learn
Avatar
That I can do for sure!
Avatar
you only need will
9:53 PM
i learned c++ / qt only beause of this project
Avatar
hey gets me motivated to really get into it! all I can do is a hello world.
Avatar
its not that hard too
Avatar
so how did you do it? just wanted to change something in inkbox and then started with a c++ beginner tutorial or something?
Avatar
i had some background in programming in general - tables, loops, references etc. I just started writing an app for inkbox i just wanted and with fails and many errors i got there https://github.com/Szybet/sanki tux-linux helped a bit
small anki rewritten for e-readers, with focus on inkbox support - GitHub - Szybet/sanki: small anki rewritten for e-readers, with focus on inkbox support
9:58 PM
I learn by making mistakes - it's best if you find your own way of learning
9:58 PM
some people prefer videos, books, tutorials
Avatar
dont want to brag but already pretty good at making mistakes
Avatar
if you learn from those mistakes, thats good
10:01 PM
¯\_(ツ)_/¯
Avatar
yeeah but I actually have to sit my ass down one day and just learn c++. I "learned" it multiple times in school and university and it always got to the point I could write a hello world but not any further. And looking at any actual real life source code I still don't understand anything.
Avatar
first write your own program then try to understand someone others
Avatar
yes probably best, thanks for the tips!
Avatar
It would be cool if joined the project - here are only me and @tux-linux really
Avatar
it would be an honor! not sure if I can actually be helpful though.
10:16 PM
will try out anything you guys throw at me for sure! And probably get a tolino page 2 to test that one too. We'll see if I'll be able to contribute anything codewise soon, I doubt it tbh...
Avatar
Honestly anything is helpful
Avatar
Avatar
dill
Honestly anything is helpful
yea
Avatar
You don't need advanced programming to port inkbox
Avatar
translations, wikis, testing, design help - anything
Avatar
Avatar
shwanzy
it would be an honor! not sure if I can actually be helpful though.
if you really want you can learn anything - and we here can help with that
Avatar
I'll stick around and see what I can do! What's translations? Is there multi language support planned?
Avatar
of course there is
Avatar
Avatar
Szybet
translations, wikis, testing, design help - anything
finding bugs, helping new users
10:20 PM
anything
10:21 PM
no one said that to you already but 90% people here are going away very often, thats why tux-linux is such a pesymist and im on the edge
10:21 PM
so as always, we hope you will stick arround here
Avatar
well it's already sold I'll stick around!
Avatar
Avatar
Szybet
no one said that to you already but 90% people here are going away very often, thats why tux-linux is such a pesymist and im on the edge
my guess: you are all just way smarter than you think and think anyone can just help with the code!
10:25 PM
this project rocks, literally the only open source os for ereaders. And I can install it on some old ass device that has not seen an official os update since five years.
Avatar
Avatar
shwanzy
my guess: you are all just way smarter than you think and think anyone can just help with the code!
in my opinion almost everyone could learn to code: But in this case im talking about people who wanted to port and just left, see #porting kobo clara thread
10:26 PM
for sure 10 people already, and its just one device
Avatar
Avatar
shwanzy
this project rocks, literally the only open source os for ereaders. And I can install it on some old ass device that has not seen an official os update since five years.
well dont be so in rush - installing inkbox on a random device could damage the device ( the kernel is configured for specific devices, and it sets specific voltages for chips, like wifi ) but cool that you got it running, tolinos are safe, but no other brand
Avatar
yes i'm aware, just did it because I knew the hardware was identical to the kobo glo... plus internal storage is a microsd 😄 nothing to lose here, just switch and go!
Avatar
soldered eemmc storages are another problem
Avatar
can I start working on german translation already? Can't find anything
Avatar
it's not ready - we need to add support for it
10:52 PM
support for custom leanguages
Avatar
Oh.. please.. not a mess like this before 2.1
10:56 PM
Maybe more try to understand the operating system and write docs ? You can ask for insight anytime
Avatar
Avatar
tux-linux
Oh.. please.. not a mess like this before 2.1
nah
Avatar
it will be a mess
10:58 PM
🥴
Avatar
btw kobo clara hd = tolino shine 3
Avatar
Then i want to get the 3 version, to port it
Avatar
68€ new including shipping, 60€ used not including shipping... weird 😅
Avatar
Welp, 15€ max i would spend
Avatar
So @shwanzy what you are doing / planning to do? Translations will need to wait sadly, but maybe the wiki could be translated
Avatar
sounds like a plan! Am going to fresh it up a little and translate in to german.
👍 1
Avatar
Avatar
Szybet
i had some background in programming in general - tables, loops, references etc. I just started writing an app for inkbox i just wanted and with fails and many errors i got there https://github.com/Szybet/sanki tux-linux helped a bit
Hey ! That's my plan !
1:05 AM
Avatar
I'll probably won't have time to start working on it for another 3 months at best anyways XD. So go for it.
Avatar
Avatar
Aramir
I'll probably won't have time to start working on it for another 3 months at best anyways XD. So go for it.
you mean sanki or what
Avatar
Adding Anki and/or using jisho's API to get some basic dictionary functionalities, flashcards and qcm from a reliable source was my next milestone (for Obenkyobo). (edited)
Avatar
i have a question: i'm working on the wiki and think about adding a small part about making the usb storage (the onboard file) larger than 500mb. Do you think it should be recommended to make it as big as the partition allows, minus 2,5gb (that's roughly the size the partition minus the onboard file is on default 4gb card)?
Avatar
Avatar
Aramir
Adding Anki and/or using jisho's API to get some basic dictionary functionalities, flashcards and qcm from a reliable source was my next milestone (for Obenkyobo). (edited)
i think anki / your app should be separate anyway, so okay cool
Avatar
For sure Obenkyobo would still specialise in japanese so it's good to have a more general anki app.
Avatar
Avatar
shwanzy
i have a question: i'm working on the wiki and think about adding a small part about making the usb storage (the onboard file) larger than 500mb. Do you think it should be recommended to make it as big as the partition allows, minus 2,5gb (that's roughly the size the partition minus the onboard file is on default 4gb card)?
i dont understand but: 1. After fliashing, increase the p4 to the max size in gparted let's say 2. Increase the size of the onboard file to as much as possible, i dont know about how much should be left of it @tux-linux should answer ( the only thing that increases size on p4 is update.isa right? but it's getting a redesign soo? )
Avatar
Avatar
Aramir
For sure Obenkyobo would still specialise in japanese so it's good to have a more general anki app.
yea, and mine is also pretty usable and good\******* so you would reinvent the wheel
Avatar
https://pastebin.com/raw/RAaRHtzB this is the edit draft for the wiki main page. On the wiki main page you can go on edit source and c&p this raw, then you can see the preview.
1:32 AM
then you will also know what I meant with the question maybe I went over board with this part ^^
Avatar
i will look at it tommorow
Avatar
all good!
1:37 AM
i think a small issue with how info is presented to users is that it's all spread over website, wiki and github. maybe best to keep only code in github, all guides and infos and stuff in the wiki, and a nice web page for representation only. Then just link everything accordingly. But not todays anways, sleep well everyone! 👋
Avatar
Avatar
shwanzy
i think a small issue with how info is presented to users is that it's all spread over website, wiki and github. maybe best to keep only code in github, all guides and infos and stuff in the wiki, and a nice web page for representation only. Then just link everything accordingly. But not todays anways, sleep well everyone! 👋
the reason for me is that the wiki editor is crappy, i prefer markdown. But if you want, you can with pandoc convert those markdown notes into wikimedia and paste them & put there a link to the oryginal to github & under a special directory or smth.
11:21 AM
i also dont like wikimedia because there is no easy way to back it up for me. for git repo? i simply clone it
11:23 AM
also @shwanzy what is a reasonable shipping cost from germany to poland? maybe you know (edited)
Avatar
maybe we can create a "wiki repo" or something then? Don't care about using wiki tech, just about things being sorted and not redundant. Like one place for code, one place for documentation, how tos etc, one place (website) for representation. Btw forget what I posted yesterday formatting was so shitty I'm already working on it 😅
Avatar
Avatar
shwanzy
maybe we can create a "wiki repo" or something then? Don't care about using wiki tech, just about things being sorted and not redundant. Like one place for code, one place for documentation, how tos etc, one place (website) for representation. Btw forget what I posted yesterday formatting was so shitty I'm already working on it 😅
well you could make a script that downloads all those guides from github to one place, for sure
11:28 AM
and just make a bot that updates it once a week or smth
Avatar
when I stumbled upon inkbox it was hard to wrap my head around how to even begin with installing. Because there is important info spread over wiki, website and github. Took a while to find out all the details: Like that I have to remove the internal sd, that I have to update to 1.6 first and then to latest, how to increase usb storage and so on. It's all there somewhere, just some parts here some parts there, and you are never quite sure you got everything right as a noob.
Avatar
yea, a definitive guide should be added
Avatar
yeah ill see if I can improve the page as it is on wiki. just important to have the content for now, and we can format like we want later!
👍 1
Avatar
Avatar
Szybet
also @shwanzy what is a reasonable shipping cost from germany to poland? maybe you know (edited)
one sec
Avatar
Avatar
Szybet
also @shwanzy what is a reasonable shipping cost from germany to poland? maybe you know (edited)
regular parcel to poland without insurance is 6€ with DHL, parcel with insurance is around 10€ with DPD or Hermes.
11:34 AM
thats... costly
Avatar
yeah and no "workarounds" that I can find. Really no cheaper options for sending ereaders. maybe you need to buy multiple together! ^^
Avatar
https://pastebin.com/raw/3X2qNcie what do you all think? just go to https://inkbox.ddns.net/wiki/index.php?title=Main_Page&action=edit paste everything raw from pastebin and hit preview
1:30 PM
i think the section i added about expanding usb storage still sucks idk a better way.
Avatar
Very cool
1:33 PM
but maybe make the update section more uniwersal, not about specific versions
Avatar
Avatar
shwanzy
i think the section i added about expanding usb storage still sucks idk a better way.
it's good
Avatar
about about section: idk if I got it right. All devices got release images version 1.6 or higher, only a few still have 1.5.
1:44 PM
if you got 1.6 you can update straight to latest release 1.9
1:45 PM
if you got 1.5 you have to update to 1.6 and then to latest release.
1:45 PM
if i understood it correctly
Avatar
oh yea, this version hopping should be addresed
Avatar
obviously not clear what i mean in this part 😅
1:46 PM
will improve it a bit.
Avatar
https://pastebin.com/raw/8qVY6eCs better? should I save it? I feel like somebody should test the expand storage thing first. And I also removed the info on nickel add on from there because it is quite different to inkbox as os, and unmaintained
2:07 PM
and probably there is a way better way to increase usb storage anyways
Avatar
it's good. leave it
2:07 PM
this should be automated in the future anyways soo it's good for now
2:10 PM
saved it 👍
Avatar
How could you know that qemu-img would work ?
Avatar
Avatar
Szybet
oh yea, this version hopping should be addresed
https://github.com/Kobo-InkBox/kernel/commit/3c24aac773743f772ef4a61c6f233919602340ed Reason In June 2021 I had forgotten to make the update script copy the rootfs signature in the update because it was only recently added, not at the same time that rootfs was converted to a squashfs. So I had to fix the mess by providing a 'staging' kernel bind-mounting a working update script then changing that kernel for the normal one and update the rootfs to a version that would update the update script itself.
This will be a staging kernel in the update between 1.5 and 1.6
Avatar
Avatar
tux-linux
How could you know that qemu-img would work ?
it works for me
Avatar
ok, nice
Avatar
Well @shwanzy any updates on your work? i'm just checking if people give up
🥴 1
Avatar
Haven't even done enough that you could call it giving up 😅
9:22 AM
should I really translate the wiki to german? will change a lot and most trying to install should be fine with english. I'll do it though if wanted. Would much more like to translate inkbox ui because people use that every day!
Avatar
Avatar
Szybet
This is easly done with inkbox power daemon, you can add it, basic cpp required
i would like to get this to work the most! But what is easy for you is not for me for sure. Might have to learn actual cpp before continuing... anyways can you explain a little further how a button would be implemented using power daemon? If I can not get it to work can I maybe send you event codes or whatever you need so you can make the buttons work without having the device?
Avatar
Avatar
shwanzy
should I really translate the wiki to german? will change a lot and most trying to install should be fine with english. I'll do it though if wanted. Would much more like to translate inkbox ui because people use that every day!
Well its your decission
Avatar
Avatar
shwanzy
i would like to get this to work the most! But what is easy for you is not for me for sure. Might have to learn actual cpp before continuing... anyways can you explain a little further how a button would be implemented using power daemon? If I can not get it to work can I maybe send you event codes or whatever you need so you can make the buttons work without having the device?
Well first you would need to root inkbox and then update everything manually, then give me logs from ipd
Avatar
Avatar
shwanzy
i would like to get this to work the most! But what is easy for you is not for me for sure. Might have to learn actual cpp before continuing... anyways can you explain a little further how a button would be implemented using power daemon? If I can not get it to work can I maybe send you event codes or whatever you need so you can make the buttons work without having the device?
Before describing the process, you need to tell me how many button there are and what shpuld they do
Avatar
A: power slider B: screen backlight C: home button
10:11 AM
A works, B should toggle backlight on and off, C should return to home screen
Avatar
B is easy to do, C not
Avatar
For b: 1. Add a system wide way to detect thats its a tolino, but still let the device think its the kobo model for compability 2. ( If the button is the same dev device as A ) detect it, if the kobo model and tolino bool match then run a function toggling the backlight. For C: i would do this this way: redesign the communication between apps and ipd to unix sockets, then send a message through this socket that reader should receive and save progress, after 2s kill all apps ( user apps, inkbox, xorg ) and restart inkbox-bin and at last make inkbox start faster ( maybe multi threading the start functions )
Avatar
Avatar
Szybet
For b: 1. Add a system wide way to detect thats its a tolino, but still let the device think its the kobo model for compability 2. ( If the button is the same dev device as A ) detect it, if the kobo model and tolino bool match then run a function toggling the backlight. For C: i would do this this way: redesign the communication between apps and ipd to unix sockets, then send a message through this socket that reader should receive and save progress, after 2s kill all apps ( user apps, inkbox, xorg ) and restart inkbox-bin and at last make inkbox start faster ( maybe multi threading the start functions )
We are not there yet
12:25 PM
But it's good ideas. For 2.1+
Avatar
If he wants he can add it?
1:10 PM
Its not much work (edited)
1:10 PM
Even i could but i dont have time
1:11 PM
When i finnish feathernotes, reader, audio and i will be too lazy for xorg then i could do it
Avatar
Avatar
Szybet
Well first you would need to root inkbox and then update everything manually, then give me logs from ipd
Well this is priority
Avatar
Avatar
Szybet
When i finnish feathernotes, reader, audio and i will be too lazy for xorg then i could do it
Prioritize xorg
Avatar
im scared and lazy
8:19 PM
for that
8:19 PM
i still have hopes you do that
Avatar
Well @shwanzy how are you doing? i'm just checking if people give up (2) (edited)
Avatar
nah I'm just slow. 😅
Avatar
Well thanks Fancy or whoever this is who helped make the wiki better
Avatar
yea, @shwanzy
10:09 PM
he dissapeared as everyone (edited)
Avatar
Avatar
Szybet
lets dont make idiots from people me, this gui above, RDF, me x2
here i am !
Avatar
futuresffpcer 5/13/2023 6:44 PM
hi. what's the best supported device for running inkbox on?
6:45 PM
what kind of battery life should i expect running inkbox on it, and using it just for reading?
Avatar
Apart from the nia, i think that the battery life is similar ot better
Avatar
Avatar
futuresffpcer
hi. what's the best supported device for running inkbox on?
Maybe glo hd, but the nia is also pretty good
Avatar
futuresffpcer 5/13/2023 6:49 PM
i was thinking nia because it's the newest, but its screen is only 212 ppi (compared to the glo hd's 300)
6:51 PM
between the nia and the glo hd, which would you choose?
6:57 PM
other than being older, on paper the glo hd looks like the better device
Avatar
Avatar
futuresffpcer
between the nia and the glo hd, which would you choose?
compare eink speed ( diffrent technologies ) and then decide
Avatar
Deleted User 6/15/2023 1:47 PM
Hello, I'm trying to update Inkbox from 1.5 to 1.9 but when it plug it in, it keeps restarting and doesn't show in my drives.. Any ideas?
Avatar
you know you need to go to 1.6 first
Avatar
Deleted User 6/15/2023 1:49 PM
Noted. Anyway,
1:49 PM
I didn't actually manage to copy it because it restarts when I plug it in..
Avatar
1.5 is so old, no idea
1:50 PM
@tux-linux
Avatar
Wait for 2.0
Avatar
Deleted User 6/15/2023 1:52 PM
Or other way, any idea how to flash 1.9 directly, for mini?
Avatar
it will be released in a few days
Avatar
Deleted User 6/15/2023 1:52 PM
Oh :o
Avatar
if there is no 1.9 image, you need to make it yourself
Avatar
Not now
1:52 PM
Not worth it
Avatar
Deleted User 6/15/2023 1:53 PM
Oki, I shall wait. I had no idea it was this close.
Avatar
Well you came in the right time
Avatar
it is close to be released from 5 months already
1:54 PM
btw cool drawings on twitter you have
Avatar
Deleted User 6/15/2023 1:54 PM
O thanks
Avatar
Deleted User 6/15/2023 2:09 PM
I certainly hope I will be able to flash the Inkbox 2.0 directly once it arrives... Since I cannot connect to pc for some reason.
Avatar
you will be able
Avatar
Deleted User 6/15/2023 2:14 PM
By the way, are there any alternative ways to load books in the system? It's kinda useless without them..
Avatar
with a rooted system you can via ssh - and soon we will have syncthing user app
Avatar
Deleted User 6/15/2023 2:16 PM
Nice, I will try.
Avatar
@everyone InkBox OS 2.0 has been released. We hope you will enjoy it! https://www.youtube.com/watch?v=cyWu_pHwqNg See https://inkbox.ddns.net/downloads.html for release images. (edited)
👀 3
🥳 5
🎉 5
8:31 PM
I guess @dill can finally try it out on his Mini
Avatar
didn't he breaked it?
8:31 PM
idk
Avatar
Congrats on the release aquaThumbsUp
Avatar
congratulations ‼️
Avatar
Avatar
tux-linux
I guess @dill can finally try it out on his Mini
next week after final exams
Avatar
Kobo discontinued support for minis. So this will be a nice fix
👍 1
Avatar
Raycast [THCoH] 6/23/2023 10:50 PM
When will an e621 client be added?
Avatar
What is that?...
Avatar
"mature image board"
10:51 PM
looks suspect
Avatar
i still dont understand
Avatar
=porn stuff?
Avatar
Avatar
Raycast [THCoH]
When will an e621 client be added?
no one will add it, i'm not sure even if you pay someone will
10:56 PM
i hope you are just shitposting here
Avatar
Avatar
Szybet
What is that?...
Raycast [THCoH] 6/23/2023 10:56 PM
Imageboard for yiff (furry porn)
Avatar
Avatar
Szybet
i hope you are just shitposting here
Raycast [THCoH] 6/23/2023 10:57 PM
I would've been serious if i asked for a client for yiff comics
10:57 PM
As those are black and white either way
Avatar
Avatar
Raycast [THCoH]
When will an e621 client be added?
Might be possible to get lolisnatcher running on there I think flutter supports arm linux
Avatar
Raycast [THCoH] 6/24/2023 12:59 PM
OwO
Avatar
im about to root my ereader after flashing inkbox to it and im seeing an onboard storage size dialogue, the default being 64 MiB, im not sure what this is for, is it the amount of free space in the root partition?
Avatar
the space available for books
1:06 PM
you can for example set it low & have more space with tinkering on the gui rootfs
Avatar
ah ok, ill give it the maximum 1024 MiB then
1:06 PM
since i have some large books
1:06 PM
cheers
Avatar
you can change it later with a fev commands
1:07 PM
to be even larger
1:07 PM
¯\_(ツ)_/¯
Avatar
ah nice, i assume its just resizing a certain partition?
Avatar
yep, + 2 commands
Avatar
easy :)
Avatar
addiotional note: this takes very long, after it the screen will go black and it will be turned off
1:09 PM
wait 3 minutes after the screen goes black, then boot it up
Avatar
i enabled the system logs so i see it doing stuff
Avatar
the re is a little bar in the middle shuffling around doin stuff
1:12 PM
im excited to be able to have my ereader running linux with root
Avatar
to be fair kobo doesnt lock down their ereaders
Avatar
alongside reading books i think itll be cool to use it as a screen for my raspberry pi via VNC
Avatar
you can have root there
1:12 PM
the vnc is.. not great for now
Avatar
im sure i probbaly could but also a foss interface is nice
Avatar
but usable
Avatar
Avatar
Szybet
the vnc is.. not great for now
id expect it not to be great on a slow device like that
Avatar
we plan to implement a better one, but this will take time, its the last item in the TODO
Avatar
but i think i could probably make a program with large buttons as a little dashboard to run on the pi which could probably work ok on an e-ink screen
Avatar
Avatar
Szybet
we plan to implement a better one, but this will take time, its the last item in the TODO
yeah thats fair, get the important stuff done before the fun things 😛
Avatar
Avatar
Spagett
but i think i could probably make a program with large buttons as a little dashboard to run on the pi which could probably work ok on an e-ink screen
what dashboard do you want?
Avatar
i was meaning for my pi, stuff to start servers and whatnot
Avatar
why you dont do that from the kobo
1:15 PM
natively
Avatar
my pi has no screen, so i was thinking it would be cool to be able to use vnc and use the kobo as a little "screen"
1:15 PM
if nothing else just as a little experiment
Avatar
I understand, but if you plan a dashboard, then the pi is not needed
Avatar
i mean that the dashboard is for the pi
1:16 PM
if that makes sense
1:17 PM
pi with dashboard to turn on and off stuff like a nextcloud server > uses vnc to display on the kobo = controling pi from my ereader
Avatar
so if you want to control your pi from the ereader, than the vnc connection is not needed
1:17 PM
but can be done if you want it be very simple
1:18 PM
just saying
Avatar
yeah i understand it wouldnt be the ideal way to do it
Avatar
Avatar
Szybet
the vnc is.. not great for now
It's great when you provide a matching resolution. Your raspberry Pi will have to issue output to 758x1024 video if it's a Glo
Avatar
i talked about it here
2:01 PM
the rust one
Avatar
someday maybe
Avatar
Well the built-in one is fine too
Avatar
didn't worked for me & android
Avatar
When you don't touch the screen
Avatar
Avatar
Szybet
didn't worked for me & android
What happened
Avatar
oh im so dumb
2:44 PM
i forgot to transplant sff library
2:44 PM
and the code i modified was in there
Avatar
but its still not working
2:47 PM
of course
Avatar
maybe check if you code is actually executed
2:48 PM
i have doubts
Avatar
yes it is
2:48 PM
i checked with qdebug
Avatar
did you tried all the things that i said
Avatar
i think
Avatar
Well, someone put it on a russian news site https://www.opennet.ru/opennews/art.shtml?num=59349
Представлен выпуск операционной системы InkBox OS 2.0 , нацеленной на замену штатных прошивок электронных книг Kobo и Kindle. Системные компоненты InkBox OS 2.0 построены на основе дистрибутива Alpine Linux 3.10 , а в качестве пользовательского окружения задействована развиваемая тем же проектом оболочка InkBox с интерфейсом для чтения элек...
1:44 AM
The release of InkBox OS 2.0, aimed at replacing the stock firmware of Kobo and Kindle e-readers, has been introduced. The system components of InkBox OS 2.0 are built on the basis of the Alpine Linux...
Avatar
Hmm
1:49 AM
It's great that people are talking about it
1:49 AM
Encouraging for development
1:50 AM
But is it really going to make a difference in two, three months
Avatar
Avatar
tux-linux
But is it really going to make a difference in two, three months
We will see We need only one new developer, or a few testers to make a diffrence and help us soo
6:33 AM
¯\_(ツ)_/¯
Avatar
better dont read the russian site
6:44 AM
they are behaving like arch users are shown in memes
😂 2
6:44 AM
🥴
Avatar
i know, no reactions
Avatar
https://www.debugpoint.com/inkbox-os-2-0/ Looks like this one has been written with ChatGPT
Feature highlights of InkBox OS 2.0 for Kobo, Kindle and other eBook readers, which brings massive updates.
8:28 PM
Announced as the "Biggest release of InkBox OS ever," the free and open-source eBook reader, InkBox 2.0, impresses with many new features.
8:28 PM
Hey, we have a logo?
Avatar
of course not, was joking
Avatar
Avatar
tux-linux
https://www.debugpoint.com/inkbox-os-2-0/ Looks like this one has been written with ChatGPT
partially yes
Avatar
Пещера Джонсон 7/8/2023 12:10 AM
umm guys how can i connect to wifi if i cant tap the wifi button on statusbar because touchscreen acts up exactly where it is (edited)
12:10 AM
device is kobo glo n613 іf that helps in any way (edited)
Avatar
Did you replace the back cover of the reader after flashing the SD?
Avatar
Avatar
tux-linux
Did you replace the back cover of the reader after flashing the SD?
Пещера Джонсон 7/8/2023 10:09 AM
First boot was with the back cover detached, you mean i need to put the back cover in place before i boot first time after reflashing? (edited)
Avatar
Why is the back cover important here?
10:58 AM
You can connect to wifi from the shell, available if device is rootef
Avatar
Avatar
Szybet
You can connect to wifi from the shell, available if device is rootef
Пещера Джонсон 7/8/2023 11:19 AM
i haven't found something like a terminal on here, i need to install it or something to get shell access on inkbox os or im just blind? (edited)
Avatar
Root access
11:27 AM
Diagnostics mode
11:27 AM
read the wiki
Avatar
so I got Inkbox 2.0 running on my original model Kobo Glo, one thing I notice is that project gutenberg integration is very minimal. A search button or link to top 100 books would be much more useful than "latest books" which is almost just mocking you with its lack of anything interesting. also selecting timezone in settings, the scroll bar doesnt do anything you just have to sort of highlight and hope you find the right time zone. perhaps an auto-detect region by network option would be more user intuitive. thats how a debian install seems to do it. other than being a little slow in some places (understandable considering how old the hardware is) its working well.
Avatar
we know about settings, we plan to change it
9:25 PM
where is it slow?
9:25 PM
as for project gutenberg: Yes, we know that too. We lack developers, there are only 2 of us with little to no support
9:26 PM
we are welcome to new contributors or for donations to motivate
9:26 PM
anyways, thanks for the feedback, its motivating when someone gives it (edited)
Avatar
I guess you feel the slowness during keyboard presses mostly. noticable delay.
9:30 PM
press the letter A, count to 3, oh there it is
9:31 PM
not that the input on the original kobo OS was particularly responsive either
Avatar
yes, its bad, we know it
9:33 PM
try sanki & todo app & terminal app
9:33 PM
its better there already
9:33 PM
still - we lack time to implement it everywhere
Avatar
i see good to know
Avatar
we need at least a few developers more to dont let this project die
9:36 PM
the creator doesnt have time because of school, i soon won't have much too
Avatar
I like the idea though not sure what would attract devs.
Avatar
dont you think that your ereader could od so much more?
9:38 PM
not only reading
9:38 PM
eink devices with android are either crappy or too expensive
9:38 PM
when kobos can do so much more
9:39 PM
note taking, music, rss, messaging, learning...
9:39 PM
at least thats mine motivation
Avatar
if you can make it so that anyone can port or make their own app in less than 5 min for inkbox that'd probably be amazing too, but probably not compatible with the security policy you guys use (edited)
9:41 PM
is the rooting via menu implemented?
Avatar
stop complaining about the security...............................
Avatar
Avatar
Kuratius
is the rooting via menu implemented?
yes!
Avatar
ah wasnt sure if I misrembered
Avatar
Avatar
Kuratius
if you can make it so that anyone can port or make their own app in less than 5 min for inkbox that'd probably be amazing too, but probably not compatible with the security policy you guys use (edited)
im doing that with apps? rss guard took 3h to port
9:42 PM
matrix client already works, will be ready today / tommorow
Avatar
oh thats neat
Avatar
Avatar
Szybet
yes!
does the wiki have that info yet?
Avatar
porting will never be easy - you need both hardware and software knowledge
Avatar
Avatar
Kuratius
does the wiki have that info yet?
maybe, but i tell that everyone that wants
9:43 PM
tux-linux didnt said you that for some reason & I didn't knew
9:44 PM
there was a student with little linux knowledge that had build inkbox in a few hours with tux-linux help, from scratch
9:45 PM
there is lack in interest, not like with plato - the author doesnt like contributors
Avatar
Avatar
Szybet
im doing that with apps? rss guard took 3h to port
because you have the private key i need to document developer mode in wiki
Avatar
still
2:31 PM
imgtool now automates this
2:31 PM
what are we even talking about
2:31 PM
kuratius was the only person that refused to elaborate and only because imtool, there was no one more
Avatar
developer mode bypasses sig verification
2:32 PM
not on rootfs itself but on pretty much everything else
2:32 PM
so devs can run user apps on their rooted device without having to create a full image for it
Avatar
Avatar
Szybet
kuratius was the only person that refused to elaborate and only because imtool, there was no one more
Refused to elaborate what?
Avatar
bad english - gived up on something because it was hard
Avatar
henrikbruhn 7/9/2023 5:49 PM
Hi. Will inkbox run on my cheap kobo clara 2e?
Avatar
Hello, no, no one ported it yet. you can do it (edited)
Avatar
Avatar
henrikbruhn
Hi. Will inkbox run on my cheap kobo clara 2e?
Do you have a serial adapter or a raspberry pi?
Avatar
henrikbruhn 7/9/2023 5:50 PM
OK, i guess i will have to read about it in the wiki?
Avatar
look at the #porting threads
5:51 PM
how its done
Avatar
Original message was deleted or could not be loaded.
Drivers and hardware communication
5:52 PM
Also kernel versions
Avatar
every device is diffrent, has a diffrent kernel and devices. some will have the button at /dev/event0 and some atg event3 for example
Avatar
henrikbruhn 7/9/2023 5:52 PM
thank you, never tried porting before 🙂
Avatar
Also the linux kobos run by default is apparently made in a non standard way, so some things don't run by default even when they ought to
5:54 PM
Andi complained about this a few times iirc
Avatar
henrikbruhn 7/9/2023 5:55 PM
is the web browser in inkbox better than the stock browser, which is very limited?
Avatar
im not confident enought to say that its better. it is what it is.
5:59 PM
What I take away from this is that the people making the os for kobos only have the bare minimum if competence necessary to get a working device and that they will probably have to stop maintaining older devices because they can't keep straight what device requires what dirty hacks (edited)
Avatar
Hi, how can I get Kindle touch image?
Avatar
long story short : it doesnt exist because tux-linux thought that no one will want it and now he doesnt have time to create it
9:08 PM
Avatar
Na niektórych czytnikach Kobo można uruchomić Linuksa. Wszystko dzięki PostmarketOS. Choć nie wiem, czy ma to sens. Czym jest PostmarketOS? To "lekki" system operacyjny oparty na Alpine Linux, rozwijany od roku 2017. Głównym założeniem projektu jest wydłużenie czasu życia smartfonów z Androidem, które producenci porzucają po paru latach. Przygot...
5:20 PM
woah
5:21 PM
a polish news site
Avatar
would using a faster sd card actually matter? or is the main bottleneck in e-readers the processor/ram?
Avatar
sd card probably matters for boot time and maybe loading large pdfs
12:28 AM
Everything else should ideally get cached
Avatar
alright ty :)
Avatar
Avatar
RedAuburn
alright ty :)
If you swap a lot between apps that could be affected too
12:30 AM
Like startup time for a browser
👍 1
Avatar
hullo
👋 1
9:12 AM
what does that even mean
Avatar
No idea
8:14 PM
wow
Avatar
Well, yes
Avatar
nevesito descargar inkbox os para kindle touch
7:45 PM
cómo lo hago
Avatar
congrats on the porting of Kobo nia model C!
2:23 PM
and thanks!
Avatar
Agreed, awesome news
😄 1
Avatar
Hi
1:10 PM
You think you go to support Kindle 2022 in futur or Only Kobo ?
1:10 PM
Best Regards
Avatar
Hi If someone ports it then it will be supported we are 2 students, can't do everything
👍 1
Avatar
I understand that thanks for your reply
Avatar
What are people seeing for battery life? I'm only getting about a week with little use.N905C
Avatar
disable xorg
Avatar
its already pretty good
Avatar
also depends on your use cases
11:03 PM
tldr it can be worse than on the original firmware for various reasons, but not on a lot
Avatar
Settings?
11:05 PM
Love the ui btw
11:05 PM
Nice a clean
👍 1
Avatar
you cant really do much than only turn off xorg / keep wifi off
Avatar
are you on 2.0?
Avatar
Yeah I'm on 2.0. Put it on first couple weeks of release....have seen if there's been updates since though
Avatar
develepovement has stopped pretty much
11:13 PM
a few more devices are out or almost out
Avatar
Turned off WiFi. See what that does
Avatar
you had wifi turned on this whole time?
Avatar
Looks like it. Is it on by default?
Avatar
nope, you need to turn it on and off manually
Avatar
wifi will have a massive impact on battery life
Avatar
but if you put it to sleep with wifi it will reactivate it on wake up
Avatar
Avatar
tux-linux
but if you put it to sleep with wifi it will reactivate it on wake up
you can disable this
Avatar
well yes
Avatar
[matrix] vesto BOT 8/28/2023 10:00 AM
👋
Avatar
[matrix] Szybet BOT 8/28/2023 10:01 AM
i need to update my system to be able to install discord chat exported, so please wait a few more minutes
Avatar
[matrix] vesto BOT 8/28/2023 10:03 AM
no rush at all, and thanks a bunch for doing that for me :)
Avatar
[matrix] Szybet BOT 8/28/2023 10:35 AM
thats a long lecture
Avatar
[matrix] vesto BOT 8/28/2023 11:42 AM
oh woof yeah there's a lot of content in here
11:42 AM
I'll take a peek a little later today to see if I can extract some knowledge out of it
Avatar
[matrix] Szybet BOT 8/28/2023 11:42 AM
consider reading it from the moment when "atro" user joined it
11:43 AM
before it i dont think there is anything important
11:43 AM
maybe, depends
11:43 AM
tldr atro is the one that made a guide and some progress
Avatar
[matrix] vesto BOT 8/28/2023 11:43 AM
ok sweet that's very helpful
Avatar
[matrix] Szybet BOT 8/30/2023 9:08 AM
ping
Avatar
replaying in some way as a user of Inkbox per the announcment. the new version has been nice on my Kobo Touch (N905C). use to crash a lot. still slow on larger files but can't complain too much given the hardware vintage. Love that I can run a FOSS ereader with this project. You're doing God's work here.
Avatar
well we need complains too to improve things the kobo touch is the slowest device to my knowledge - speed on larger files will be fixed. If you described how to reproduce those crashes and create a github issue it would be helpfull thanks for the feedback
👍 2
Avatar
hi there! this project looks amazing, although I haven't gotten it to work yet. I wrote the inkbox 2.0 N236 image to the SD card for two N236 units I picked up cheap on ebay (my daily carry is clara hd), but neither one will boot from the sd card. The screen blanked, and then it just flashes the light without going any further. What should I do?
3:24 AM
it is a solid white light for about 10 seconds, then the screen flashes and the light starts blinking
3:30 AM
@Szybet
3:30 AM
❤️
Avatar
Reflash the sd card once more
6:51 AM
its corrupted
6:51 AM
Use balena etcher
Avatar
Ok thanks! I'll do that
Avatar
That fixed it! And it flashed way faster than the command line xz piped to dd
8:03 AM
Today I learned etcher can take a compressed image file as input
Avatar
Balena rechecks if everything worked
8:53 AM
In your example the kernel booted and died, only managed to flash the screen
Avatar
Sorry if this is a silly question, but I'm not sure how to transfer epub files onto the device. I plug it in via USB to my laptop, and it prompts me to allow the USB connection and then changes the sscreen to "USB connected", but there is no device detected by the PC (running nixos), nothing in dmesg, no file system showing up. I looked at issues and the wiki, but I don't know if I'm just missing something simple.
7:58 PM
I bet it was a cable issue
7:58 PM
brb lol
Avatar
[matrix] Szybet BOT 9/3/2023 8:00 PM
it works now or not
8:00 PM
look up if anything shows up in dmesg related to this, on host and on inkbox os
8:00 PM
what device do you have once more? kobo touch?
Avatar
aura se
8:04 PM
nothing in dmesg on laptop
8:04 PM
haven't gotten shell on the device yet, guess I'll do that next
8:04 PM
just tried a third usb cable and none of them work
Avatar
[matrix] Szybet BOT 9/3/2023 8:07 PM
usb is tricky, there are issues with it
8:07 PM
you need to debug it
8:07 PM
or just upload via scp / syncthing if you dont care
Avatar
scp is easy enough, but I'd also like to help get it working better
8:14 PM
and I do already have syncthing that syncs to my clara hd
8:15 PM
so probably that'll be the way I move books longterm anyway
Avatar
[matrix] Szybet BOT 9/3/2023 8:15 PM
well then with scp upload them to /data/onboard then remove the files in .database directory which is in there, open files dialog library will generate and thats it
Avatar
is it running an sshd by default?
Avatar
[matrix] Szybet BOT 9/3/2023 8:29 PM
you need to root the device
8:29 PM
did i explained it already?
Avatar
no, but if there's documentation for that, I can undertake it. plenty of experience with this kind of thing
11:13 PM
is it just a question of flashing the image that allows running unsigned packages?
11:13 PM
I can also volunteer to document some of these things if they are currently undocumented
Avatar
I just installed inkbox on my kobo glo (N613). I tried to connect to wifi, but it says no networks were found. In the logs it says: Turning Wi-Fi ON ifconfig: SIOCSIFFLAGS: Operation not permitted ...
Avatar
Avatar
nebajoth
I can also volunteer to document some of these things if they are currently undocumented
Would be cool, github wiki in the main repo is open
Avatar
Avatar
nebajoth
is it just a question of flashing the image that allows running unsigned packages?
You dont need to go soo deep
Avatar
Avatar
nebajoth
no, but if there's documentation for that, I can undertake it. plenty of experience with this kind of thing
Wifi is just linux kernel ( modules config compiling and stuff ) and then shell scripts that use typical linux commands And the gui wraps arround them, so easy to debug
Avatar
Avatar
Szybet
Wifi is just linux kernel ( modules config compiling and stuff ) and then shell scripts that use typical linux commands And the gui wraps arround them, so easy to debug
Oh and i lost track of the topic Usb mass storage works in a similar way, its just more complicated because of filesystems
11:39 PM
And pipes
Avatar
Lol it took me three weeks to show up after you posted asking for it, but I will create the wiki page
11:45 PM
And help troubleshoot USB storage
Avatar
[matrix] Szybet BOT 9/3/2023 11:48 PM
Better late than never😄
Avatar
Pretty interesting project, I am glad to help out. I have a Clara HD I love that I would love to see inkbox on eventually. I bought the aura se units essentially to test inkbox, but the hardware is noticeably slower (even on root Kobo firmware) and I ache for the speed of the newer hardware, but with the ability to be Real Linux.
Avatar
It runs on clara HD But you probably would find it even slower there
Avatar
Isn't the Clara hd hardware newer?
Avatar
yes, but because of framebuffer issues, the display is actually slower than most older devices with inkbox os
Avatar
Yikes
Avatar
it is usable, but slower in average (edited)
3:13 AM
it has to wait for each update to finish completely before doing a new one
Avatar
Can the framebuffer issues eventually be addressed?
Avatar
not by me, but maybe by someone else
3:13 AM
(andi1)
Avatar
Fair
Avatar
that is, if he has time
Avatar
Also fair
3:16 AM
This was before I enabled the 'force wait after refresh' flag
3:16 AM
So it is currently needed, for obvious reasons
Avatar
Well that's still pretty exciting
👍 1
Avatar
When I go to reset the Kobo with root it asks me what the onboard storage size is
4:19 AM
I am confused by this
Avatar
take at least 256
Avatar
What is this, the amount I'm dedicating to a fs?
4:20 AM
To install my own apps?
Avatar
no, to put your books
Avatar
Aha
Avatar
whats the default root password?
5:01 AM
got ssh goin
Avatar
root
Avatar
gah
5:01 AM
lol ok
5:02 AM
can't update it :/
5:02 AM
probably an overlayfs issue?
Avatar
Hmm both epubs I opened have the bottom lines cut off
6:13 AM
I tried adjusting margins but it didn't help
6:14 AM
Is this a known issue?
Avatar
Enable scroll bars in settings
6:16 AM
Yes, it has been improved for next release
Avatar
when is the next release intended to be?
Avatar
If I were to get an eink device just for using anki, which one should I get?
Avatar
Avatar
nebajoth
when is the next release intended to be?
No idea....
Avatar
Avatar
Carol12321
If I were to get an eink device just for using anki, which one should I get?
Kobo nia
Avatar
Hello. New to InkBox here. Installed it on a Kobo Mini last night. The unit is so slow with frequent freezes that require hard reboot to fix. Any suggestions on how to sort this out? Or is this device just too small and slow to expect more?
Avatar
Probably the latter It's twelve years old
3:21 PM
What do you mean by 'frequent freezes'
Avatar
Lets say opening the browser ... takes up to 2 mins and then there does not seem to be any way to close it. Switching from the reading page to the home page in the reader takes about a minute.
3:26 PM
I'm used to a Kindle moded with KO Reader and Alpine, so I know these devices are being stretched to the limit, but this is unusable for me.
Avatar
[matrix] Szybet BOT 9/7/2023 3:36 PM
disable xorg at all
👍 1
3:37 PM
it should make things better
3:37 PM
as for the reader, the next release will be better
3:37 PM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
3:38 PM
look here
Avatar
OK! Will try some of these.
3:39 PM
What is the fastest Kobo device that runs IB well?
Avatar
[matrix] Szybet BOT 9/7/2023 3:40 PM
um, nia, glo hd propably?
👍 1
Avatar
I see a Glo HD for sale locally ... I'll see if I can get it.
Avatar
How would I go about disabling xorg?
Avatar
It's in settings
Avatar
[matrix] Szybet BOT 9/7/2023 5:49 PM
xorg settings exactly saying
Avatar
Avatar
Axe
Lets say opening the browser ... takes up to 2 mins and then there does not seem to be any way to close it. Switching from the reading page to the home page in the reader takes about a minute.
to close the browser, you have to click the little sheet of paper with an x on it near the top right of the screen, then click on quit when the menu shows up
5:59 PM
but, two minutes is normal
👍 1
Avatar
shoot, did I buy the wrong tablets when I got the aura se?
7:46 PM
they are pretty slow
7:47 PM
I should have gotten a glo hd instead?
Avatar
Probably
7:58 PM
But it's still fine
Avatar
dont expect too much
8:32 PM
what is lagging on your aura se?
Avatar
I don't mind the loading time for the os, but the loading time opening an epub file and displaying it could use at least some sort of acknowledgement that something is happening. As it stands, the lack of feedback about whether a touchscreen press has even been registered plus the fact that it takes 20ish seconds for the screen to even change to the epub reader means I've mashed it repeatedly every time because I don't think it's working. It's not so much lag I guess
Avatar
the whole reader is being rewritten
9:08 PM
when it will be ready? no idea
9:08 PM
its faster for sure
Avatar
Is it being tracked in a GitHub issue?
Avatar
no
Avatar
Ty
👍 1
Avatar
Putting InkBox through its paces on my Kobo Mini. I find that I cannot reflow PDF's the way I can on my Kindle KOReader. Is this something that might be coming with the new Reader?
Avatar
No We don't have 500 devs to help us, so 😉
3:06 AM
I find it usable IMO though
Avatar
Maybe because I'm on the Mini ... reading by manipulating the scroll bars is unusable really, and thats just PDF's that I printed from a webpage.
Avatar
well, yea, screen size doesn't help
Avatar
[matrix] Zenaida macroura BOT 9/17/2023 10:18 PM
Would very much like to see Inkbox for the Libra 2, in regards to the announcement question. (wrong channel, oops) (edited)
Avatar
libra 2 wud be a dream!
Avatar
+1 libra 2!
Avatar
+1 libra 2 indeed!
Avatar
ok, considering it
5:03 AM
thanks for the suggestions
Avatar
has anyone here have problems where inkbox doesn't wake up, it needs a reset?
3:55 PM
@andi can usb host mode be related to this?
Avatar
[matrix] tux-linux BOT 9/23/2023 3:57 PM
I don't so, usb host may be the problem
Avatar
and for second time it drained the battery singifically
3:58 PM
to 44%, last time it was 0
3:59 PM
also it wouldnt turn on at all without a charger
3:59 PM
yea i can see issues with hacking the pmic to do things i want ;p
Avatar
Avatar
Szybet
also it wouldnt turn on at all without a charger
Well how did you make it work
Avatar
i connected the charger
Avatar
Avatar
Szybet
also it wouldnt turn on at all without a charger
.
5:48 PM
Oh ok
5:49 PM
I read 'with'
Avatar
Hi! I've just learn about this project. What a great idea, kudos to everyone!
5:10 PM
I wondered, did anyone try to run inkbox on a Tolino Vision 6 (sort of Kobo Libra 2)?
Avatar
[matrix] Szybet BOT 10/2/2023 5:17 PM
If kobo libra 2 is not supported then it wont work
Avatar
[matrix] andi1 BOT 10/8/2023 7:25 PM
well, there are often differences in processor between tolino and kobo, often imx6sl vs. imx6sll since a certain generation of reades
Avatar
[matrix] joe BOT 10/8/2023 7:25 PM
tolinos are cute
Avatar
there is a shit ton of glue so i dislike them
Avatar
I handed my Inkbox Kobo Nia to a 3 year old today. After opening it, it was on the last page I was reading, but the page turn buttons wouldn't work. I didn't know why, so I suggested he hold down the power button. He did that while running around the room. It was in diagnostics mode. Then I had to chase him to get it back. Somehow he got it to the reset screen before I got it back. I thought, why not soft reset it? It can't read a PDF I put on there, the cover of a book I removed is still on there, and it won't open the epub that I had converted from a PDF of a Bible. So I soft reset it, and then in the start up choose not to enable kobox this time, until you tell me it works better. I thought you might want to know about the friction for dev purposes. Are there any tricks to adding books so they work well?
Avatar
[matrix] Szybet BOT 10/10/2023 7:41 AM
The year old is a software tester and in scared
7:41 AM
Use koreader for the time being
Avatar
[matrix] tux-linux BOT 10/12/2023 3:48 AM
Qalculate is at least useful with homework
Avatar
uploading picture here because bot didn't seem to like it
Avatar
Sanki too🫡
Avatar
Hi, I see that Kobo Libra H2O (N873) was supported, so I'd like to do that. When I opened the back of my e-reader, I didn't see an SD card. How do I install the new OS ?
Avatar
hi this model has an eemc with is harder to install it and easier to brick the device forever, additionally the developers dont have time explaining the install process so you would need to figure it out yourself
Avatar
Just want to say thank you. This is a nice reading experience
Avatar
[matrix] tux-linux BOT 10/22/2023 2:46 AM
You should maybe enable scrollbars
2:46 AM
But nice if you like it
Avatar
Hi guys I have an old kobo, I'm trying to figure if I can install Inkos. I don't remember exactly the model the serial number starts with N905J so it's a N905, on the website I see two versions B and C, do you know how to check which one is mine? Also the sd is less then 4gb but I can swap it with another 32gb one
Avatar
[matrix] Szybet BOT 10/30/2023 1:44 PM
Somewhere on the device it should be written down
Avatar
Avatar
[matrix] Szybet
Somewhere on the device it should be written down
It's a C! That was simple lol, thank you
Avatar
[matrix] Szybet BOT 10/30/2023 1:45 PM
Switch to a bigger sd card if you can
Avatar
[matrix] Szybet BOT 10/30/2023 1:46 PM
Because why not
Avatar
Avatar
[matrix] Szybet
Switch to a bigger sd card if you can
I can swap the external one with the internal, I have a 32gb
Avatar
[matrix] Szybet BOT 10/30/2023 1:47 PM
What? The links do work
👍 1
Avatar
Everything seems to work, swapped the sd and installed. Can I use it with calibre? I'm looking at the wiki but I don't seem to find anything
2:17 PM
If i plug it in I get "unrecognized usb device" in win
Avatar
ah ok, any way to trasfer via usb?
Avatar
you can't see it in windows explorer?
Avatar
idk sometimes it doesn't work maybe try to unplug/replug or restart kobo/computer
Avatar
ok.. because if i take off sd and try to read it on pc it doesn't work (edited)
Avatar
are you connected via usb
Avatar
i tried but got unrecognized usb device popup and no device shown in win, i'm going to restart both pc and kobo and try again
2:27 PM
Now I can see it, ty. I just have to paste epubs in the database directory?
2:30 PM
also win says 510mb instead of 31gb is that correct or I have to change something in inkbox settings?
Avatar
it is correct
Avatar
how does it work then? I cannot paste more then 500mb files inside
2:32 PM
it's a 32gb sd card
Avatar
its a storage restriction of inkbox images
Avatar
so the os can "see" only 500mb?
Avatar
oh god 😄 (edited)
2:35 PM
Can i do that on win too?
Avatar
probably not
2:36 PM
maybe with wsl
2:36 PM
I would rather use an ubuntu live usb or something like that
Avatar
I have a linux pc too with manjaro, just lazy to take it out, I'm using that ty
👍 1
2:37 PM
I saw something about wifi trasfer when i turned it on, I can use that to fill the sd card too? Do you have a wiki page to explain that too?
2:38 PM
or the partition limitation is the same in that way too?
Avatar
Avatar
drop2
Everything seems to work, swapped the sd and installed. Can I use it with calibre? I'm looking at the wiki but I don't seem to find anything
matterbridge BOT 10/30/2023 2:39 PM
[matrix] Szybet Nope, no suppory yet
Avatar
Avatar
drop2
I saw something about wifi trasfer when i turned it on, I can use that to fill the sd card too? Do you have a wiki page to explain that too?
matterbridge BOT 10/30/2023 2:39 PM
[matrix] Szybet Syncthing and updated rootfs is needed
Avatar
Avatar
drop2
or the partition limitation is the same in that way too?
matterbridge BOT 10/30/2023 2:39 PM
[matrix] Szybet Partition limit affects both transfers
Avatar
Thank you, I knew I was reassembling the cover too quickly lol
Avatar
I still use inkbox on 2 glo hd devices but haven't bothered much with updates or interacting due to unfortunate time management. thank you again for making this product and giving new life to old kobo devices. (edited)
👍 1
Avatar
Hi! Kobo Touch H905C here - Inkbox works great but WiFi... No networks found((. btw all networks are visible when I boot it with the original SD card. Any help or point me in the possible direction of how to fix it? Thanks!
Avatar
Click the refresh buttons a few times
4:33 PM
apart from that, we cant help because we dont have a kobo touch anymore, people with that device are on their own ( as for now no one fixed any issues with it ...)
Avatar
Refresh does not work. I have an idea it could be an issue with the device not being rooted. Not sure how to do it.
4:36 PM
*refresh does not help
Avatar
On the github issue page is a glo wifi issue, there is the description how to root
5:05 PM
maybe in the rootfs repo
5:05 PM
Idk if this will help but will help debug things
Avatar
Thank you
Avatar
Oh, wifi has a debug button
5:07 PM
Bug button
5:07 PM
Click it and show all logs
Avatar
does not show anything(
Avatar
There are arrows to switch tabs
Avatar
I'll try again tonight
Avatar
All logs tabs is the one you are interested
Avatar
ok. thanks
5:09 PM
gotta go)
👍 1
Avatar
Is a working solution for wifi on n905C ?
Avatar
[matrix] tux-linux BOT 11/5/2023 8:40 PM
Try a personal hotspot from your phone
8:40 PM
For me it made it work iirc
Avatar
[matrix] Julian Groß BOT 11/25/2023 2:06 PM
Hello, is InkBox available as a standalone application? I am asking because it appears that postmarketOS now runs on the PineNote, and InkBox looks like it could be the perfect software to run on the PineNote.
2:28 PM
a hard nope.
2:28 PM
if it runs postmarket os, it can run inkbox because inkbox uses old alpine as half of its base
2:32 PM
we tried to contact pine to help us port inkbox to it, noone was interested apart from that, current inkbox is not worth it - the reader is bad - for now its more an application launcher ( we have a new reader written in 60% but we dont have time to finish it )
Avatar
[matrix] Julian Groß BOT 11/25/2023 2:35 PM
Yeah, my experiences with Pine aren't amazing either. From what I can tell they won't help with anything, other than providing cheap devices (though the PineNote is pretty expensive of course). Though I am more of a customer than a developer.
2:38 PM
Sounds like I would be better off running Xournal++ on postmarketOS then, or just getting something completely proprietary.
Avatar
Avatar
[matrix] Julian Groß
Sounds like I would be better off running Xournal++ on postmarketOS then, or just getting something completely proprietary.
you could look into running koreader or plato, though you probably wont be 100 % happy with either of them
2:44 PM
koreader is kind of hard to run on alpine without a lot of work and plato doesnt support rendering epubs correctly
2:44 PM
it is fast, but incorrect
Avatar
mark! it's mark! 12/16/2023 9:52 PM
Hello! I've got a silly question - does InkBox integrate with Calibre at all?
Avatar
[matrix] Szybet BOT 12/16/2023 9:54 PM
Nope, not yet
Avatar
mark! it's mark! 12/16/2023 9:56 PM
Thanks!
Avatar
hello everyone
3:10 PM
i found out about this project after seeing postmarketos has a port for the kobo clara hd, which is relatively modern
3:11 PM
does anyone know how well that works relative to inkbox? its my understanding inkbox only supports older devices as of now
3:11 PM
is there any software for postmarketos that could be used to actually read ebooks comfortably?
Avatar
Avatar
trololol
does anyone know how well that works relative to inkbox? its my understanding inkbox only supports older devices as of now
I cant speak to how well pmOS runs on clara had, but there is a yt video where someone did a showcase iirc
Avatar
yeah i saw that
3:12 PM
looked pretty decent
3:12 PM
is that worse than inkbox though?
Avatar
Avatar
trololol
is there any software for postmarketos that could be used to actually read ebooks comfortably?
figure out how to compile plato or do a dirty hack to run koreader?
Avatar
does anyone here daily drive inkbox?
Avatar
Avatar
trololol
does anyone here daily drive inkbox?
matterbridge BOT 12/17/2023 3:12 PM
[matrix] Szybet me
Avatar
Avatar
trololol
is that worse than inkbox though?
pmOS from what I have I seen is better than inkbox on the technical side, worse on the UI side
Avatar
[matrix] Szybet BOT 12/17/2023 3:13 PM
technical side only because it's a newer kernel but yes
Avatar
I've suggested making inkbox an OS-agnostic UI program before
3:13 PM
but it was apparently too complicated or not a high priority
Avatar
Avatar
Kuratius
figure out how to compile plato or do a dirty hack to run koreader?
figure out as in just compile it or figure it out as in it doesnt want to compile on alpine for some reason?
Avatar
Avatar
trololol
figure out as in just compile it or figure it out as in it doesnt want to compile on alpine for some reason?
their build system is weird and I couldnt get the right dependencies without reading all the code to figure out how it fits together and I didnt have time for that
Avatar
Avatar
matterbridge
[matrix] Szybet me
and? how does it work for you? do you download books directly onto it through a browser?
Avatar
Avatar
trololol
and? how does it work for you? do you download books directly onto it through a browser?
matterbridge BOT 12/17/2023 3:15 PM
[matrix] Szybet what
Avatar
Avatar
Kuratius
their build system is weird and I couldnt get the right dependencies without reading all the code to figure out how it fits together and I didnt have time for that
couldnt even build the emulator because the documentation is just bad
Avatar
[matrix] Szybet BOT 12/17/2023 3:15 PM
i use syncthing
Avatar
doesnt list required packages etc
Avatar
[matrix] Szybet BOT 12/17/2023 3:15 PM
the browser is barely working, no downloading books for sure
Avatar
Avatar
Kuratius
couldnt even build the emulator because the documentation is just bad
matterbridge BOT 12/17/2023 3:16 PM
[matrix] Szybet ugh just stop
Avatar
[matrix] Szybet BOT 12/17/2023 3:16 PM
i already said
3:16 PM
the emulator is bad
3:16 PM
as for qemu
3:16 PM
it work so shitty even i gived up on it
Avatar
Avatar
[matrix] Szybet
the emulator is bad
am talking about plato
Avatar
[matrix] Szybet BOT 12/17/2023 3:16 PM
the same thing then ;p
Avatar
Avatar
[matrix] Szybet
the browser is barely working, no downloading books for sure
what, netsurf?
Avatar
[matrix] Szybet BOT 12/17/2023 3:18 PM
yes, barely working and lagging
3:18 PM
dont expect much from 255 mb of ram
Avatar
clara is 512 MB I think
Avatar
[matrix] Szybet BOT 12/17/2023 3:18 PM
the textedit browser in rss guard works good for bare html files websites
Avatar
i suppose sideloading isnt too bad
3:21 PM
is inkbox on like a wayyyyy old kernel or just behind?
Avatar
Avatar
trololol
is inkbox on like a wayyyyy old kernel or just behind?
wayy old
3:21 PM
2.6
Avatar
[matrix] Szybet BOT 12/17/2023 3:21 PM
depends on the device
3:21 PM
mine is 4.15
Avatar
Avatar
trololol
i suppose sideloading isnt too bad
matterbridge BOT 12/17/2023 3:21 PM
[matrix] Szybet use syncthing, thats it
Avatar
Avatar
[matrix] Szybet
mine is 4.15
oh?
3:23 PM
what is your device btw
Avatar
Avatar
trololol
is inkbox on like a wayyyyy old kernel or just behind?
Avatar
[matrix] Szybet BOT 12/17/2023 3:23 PM
kobo nia, a modified one
Avatar
What is the version of the chroot enviroment?
Avatar
Avatar
Kuratius
Click to see attachment 🖼️
matterbridge BOT 12/17/2023 3:23 PM
[matrix] Szybet old device has a old kernel, newer device has a never kernel what do you guys expect?
Avatar
Avatar
Kuratius
What is the version of the chroot enviroment?
matterbridge BOT 12/17/2023 3:24 PM
[matrix] Szybet alpine 3.10 and Qt 5.12.1? something like that
Avatar
[matrix] Szybet BOT 12/17/2023 3:24 PM
stop complaining about the versions, they doesnt matter.
Avatar
Avatar
[matrix] Szybet
kobo nia, a modified one
modified? how so, if you dont mind me asking?
Avatar
Avatar
trololol
modified? how so, if you dont mind me asking?
matterbridge BOT 12/17/2023 3:27 PM
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
Avatar
[matrix] Szybet BOT 12/17/2023 3:27 PM
I write on it in school and listen to music via usb sound card
3:28 PM
+ it has a external sd card slot now and exposed serial pins
3:32 PM
has anyone actually successfully compiled plato on postmarketos?
3:32 PM
that seems to be the best option to me
3:32 PM
if not then i think ill go with your thing szybet
3:32 PM
looks pretty cool
Avatar
[matrix] Szybet BOT 12/17/2023 3:33 PM
thing? inkbox? or the nia back attachment?
Avatar
Avatar
trololol
has anyone actually successfully compiled plato on postmarketos?
plato doesnt render epubs correctly, idk if that will bother you
Avatar
inkbox with your audio mod, since it seems cool
Avatar
Avatar
Kuratius
plato doesnt render epubs correctly, idk if that will bother you
incorrectly how? and like
3:34 PM
why
3:34 PM
it seems pretty actively maintained
Avatar
Avatar
trololol
it seems pretty actively maintained
idk, ask them what hack they used to get epubs to work ruby syntax for example is ignored
Avatar
[matrix] Szybet BOT 12/17/2023 3:34 PM
https://github.com/Szybet/niAudio/blob/main/pcb-board/final/notes.md the PCB has a lot of errors and requires expert soldering skills to make it work, it would require a remake
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
Avatar
Avatar
Kuratius
idk, ask them what hack they used to get epubs to work ruby syntax for example is ignored
has been reported over half a year a go
Avatar
[matrix] Szybet BOT 12/17/2023 3:35 PM
image.png
3:35 PM
3:35 PM
+ there is a cable going, i have a protection for it but its still there
Avatar
[matrix] Szybet BOT 12/17/2023 3:36 PM
and the 3d files require a lot of tryies / grinding to make it work
3:36 PM
tldr: It's a fully working prototype, which means it's hard to replicate
3:37 PM
a filly working epub renderer would require a full edged browser...
Avatar
Avatar
trololol
incorrectly how? and like
the plato dev also rarely accepts commits, there's someone who made their own fork because of that https://github.com/thataboy
thataboy has one repository available. Follow their code on GitHub.
Avatar
is inkbox and that one version of postmarketos the only alternative software that has been found to work on kobos?
3:43 PM
i wonder how much more difficult it would be to get linux working on a kobo and then just try to compile plato, as kuratius said
Avatar
Avatar
trololol
i wonder how much more difficult it would be to get linux working on a kobo and then just try to compile plato, as kuratius said
pmOS is linux
Avatar
this is assuming more kobos COULD run some type of linux as opposed to pmOS specifically
3:44 PM
but i guess thats not necessarily true
3:44 PM
pmOS as of now seems to only work on the kobo clara hd but quite well on that
3:45 PM
including wifi and everything
3:45 PM
dude in that video even used firefox which is crazy
Avatar
I'm pretty sure they mostly can, you just need to hook up some things like the user interface correctly
Avatar
Avatar
Kuratius
I'm pretty sure they mostly can, you just need to hook up some things like the user interface correctly
wdym?
3:46 PM
honestly the reason im asking is because the clara hd is a bit small
Avatar
Avatar
trololol
wdym?
once you got booting and a working kernel everything else is just getting ui to work
3:47 PM
and installing software/dependencies correctly
3:48 PM
i would assume the hard part is the actual eink display working
Avatar
Avatar
trololol
i would assume the hard part is the actual eink display working
on pmOS it's handled by standard linux interfaces, so if you set environment variables any application can talk to the display
3:50 PM
we had some driver issues initially on the nia where it was giving the wrong color range for the device, but that got fixed
3:51 PM
e.g. DISPLAY=:0 ./your_program worked for the stuff I compiled for the most part
3:51 PM
ran some touchscreen calibrator for example
3:53 PM
only issue for me with pmOS was that xfce is basically too heavy for the nia to reasonably use
3:53 PM
ram limitation
3:53 PM
you end up with like 10 MB left for user programs, 60 MB if you dont count cache
Avatar
yeah thats rough but xfce isnt exactly THE lightest option
3:54 PM
unrelated but is nickleboot just a firmware mod?
3:54 PM
nicklemenu excuse me
Avatar
iirc it just adds some extra options to the default nickel interface
Avatar
[matrix] tux-linux BOT 12/17/2023 3:55 PM
Nickelboot no Nickelmenu yes
Avatar
and nickleboot is?
Avatar
Avatar
trololol
i wonder how much more difficult it would be to get linux working on a kobo and then just try to compile plato, as kuratius said
getting some actual shit to work and run like wifi, power management, making it work on many devices, xorg kinda is hard, and then inkbox os exists and does that (edited)
Avatar
yeah that makes sense
4:07 PM
also is kobo violating the GPL license or are the proprietary parts of it made by them?
4:07 PM
since as i understand kobo DOES run linux by default
4:07 PM
so it is it just userland thats proprietary?
4:08 PM
CAN you find the kernel they use somewhere?
4:08 PM
sorry, stupid questions but i honestly have no clue
4:08 PM
im behind on the e-reader meta
Avatar
Avatar
trololol
also is kobo violating the GPL license or are the proprietary parts of it made by them?
the ui part, yes
4:09 PM
the kernel part, no - we use it thats why we run on such many devices
Avatar
Avatar
trololol
CAN you find the kernel they use somewhere?
github kobo labs
Avatar
so nickel is the menu? and thats the proprietary part?
4:10 PM
and its also what inkbox replaces?
Avatar
[matrix] Szybet BOT 12/17/2023 4:11 PM
inkbox replaces the whole OS, everything
4:11 PM
nickel is the stock OS, and the UI in it
Avatar
Avatar
[matrix] Szybet
inkbox replaces the whole OS, everything
but why, if the kernel is free software?
Avatar
[matrix] Szybet BOT 12/17/2023 4:12 PM
to modify the kernel to allow os to boot a real os
4:12 PM
they use buildroot with is hard to work with
4:13 PM
we use alpine, we have apk from alpine and we can eassly use it
Avatar
i get it
4:14 PM
is there anything that replaces the proprietary UI but doesnt attempt to replace the kernel, thereby working on newer devices?
Avatar
[matrix] Szybet BOT 12/17/2023 4:14 PM
koreader, plato do this
Avatar
again, im not trying to diss inkbox or anything
Avatar
Avatar
[matrix] Szybet
koreader, plato do this
are they a userland as well?
4:14 PM
i thought they were more like
Avatar
[matrix] Szybet BOT 12/17/2023 4:14 PM
yep, userland
Avatar
[matrix] Szybet BOT 12/17/2023 4:15 PM
they are apps
4:15 PM
that replace the main UI
4:15 PM
you can return to that UI
Avatar
so its still there
4:15 PM
or do you mean return to it by reflashing it
Avatar
[matrix] Szybet BOT 12/17/2023 4:15 PM
the problem with this is that any update from the stock os fucks up koreader and plato and more so often resets the ereader completly
Avatar
Avatar
trololol
or do you mean return to it by reflashing it
matterbridge BOT 12/17/2023 4:15 PM
[matrix] Szybet exit button in koreader, litterally
Avatar
so really its just running on top of the proprietary components, right?
4:16 PM
as opposed to replacing them
4:16 PM
i see
4:21 PM
i ask because i wonder if theres any significant difference in terms of, for example, privacy, between nicklemenu and inkbox/postmarketOS
4:21 PM
and it seems like there is a big difference
4:21 PM
since one just leaves the proprietary elements and the other is a full replacement
Avatar
OK ive looked at all the options
5:08 PM
seems inkbox is the best choice
5:08 PM
i just wonder how easy reading research papers and such will be on a 6 inch screen
Avatar
Avatar
trololol
i just wonder how easy reading research papers and such will be on a 6 inch screen
not very
Avatar
yyyyeah
Avatar
[matrix] Szybet BOT 12/17/2023 5:56 PM
Koreader is fine
Avatar
how so?
Avatar
[matrix] Szybet BOT 12/17/2023 6:02 PM
Rotate the device
Avatar
ok valid
Avatar
[matrix] Szybet BOT 12/17/2023 6:02 PM
And then its fine
6:02 PM
At leats for me
Avatar
you mean koreader on inkbox im assuming
6:02 PM
actually
Avatar
[matrix] Szybet BOT 12/17/2023 6:03 PM
Yep
6:03 PM
Use koreader, the main reader sucks and i dont have time to complete the new one
Avatar
would you mind sending a photo of what it looks like picture quality wise with a random research paper with graphs and such? something like this: https://math.berkeley.edu/~kpmann/penrose%20reading.pdf or this: https://space.mit.edu/home/tegmark/dimensions.pdf
6:06 PM
if its not too much work ofc
6:06 PM
i guess the glo hd is the best choice for this
Avatar
[matrix] Szybet BOT 12/17/2023 6:07 PM
Remind me later or tommorow, then i will do it for sure
Avatar
thanks man
6:13 PM
also, btw, how does koreader fix the issue with pdfs? does it retain the zoom when you rotate the device or something?
Avatar
presumably you just display part of the paper at its original resolution and then in landscape mode this means you only need to scroll up/down, and you dont need to scroll left/right
6:14 PM
zooming on an ereader isnt really fast
Avatar
Appologies if this is a really stupid question. However I seem to be able to find nowhere how I can turn off the dark mode in inkbox. Any help would be greatly appreciated 😅
Avatar
settings page 2: checkbox "enable night mode"
Avatar
thank you so much. Didn't notice there ware more than one page 😅
👍 1
Avatar
just was wondering if there's a (easyish) way to get the libra2 to work (im realitivly newish to linux, enough to use arch but still feel like a absolute dumbass)
Avatar
it is an ntx device it's a platform that other supported kobos are on so it's probably not that hard but still hard 'not that hard' by my standards
5:49 AM
i dont even use my libra anymore lol, i just carry my phone around and read chinese webnovels. (edited)
Avatar
Avatar
DerpyBoi
i dont even use my libra anymore lol, i just carry my phone around and read chinese webnovels. (edited)
but if it was easy enough to do with my skill in a day, then i would be fine doing it, but seems it might be a little too much work
Avatar
probably over the course of a week at a minimum
Avatar
yep
5:51 AM
school is too soon for that
5:51 AM
and too much time for something im probably not gonna touch for atleast half a year
Avatar
we are always open to device donations if you want your model ported no guarantees, except that we will do our best while keeping up with school
5:52 AM
though i understand if you want to keep it
Avatar
i doubt you two are close enough and i dont feel like shipping it (edited)
Avatar
yea its fine
5:53 AM
no worries
5:53 AM
thanks for coming by
Avatar
i might keep this server in here in hopes that one day, itll be easy to port or smth
Avatar
one of us lives in canada and the other in poland
5:54 AM
maybe
Avatar
Avatar
tux-linux
one of us lives in canada and the other in poland
wait CANADA
Avatar
yes
Avatar
i live in canada
Avatar
laval, qc
Avatar
nvm
5:54 AM
peterborough, ON
Avatar
still better than poland
Avatar
yep
5:55 AM
halfwayish across the world
5:55 AM
In about two weeks of reading (edited)
Avatar
wdym
5:56 AM
nice font
Avatar
look at the url
5:56 AM
it has the chapter amount
Avatar
1017
Avatar
yep
5:56 AM
chapter 1017 in two weeks of reading
Avatar
ho wmany pages per chapter
5:56 AM
so probably not much
Avatar
its a scroll rather then pages, but i can send the link for you to check
5:57 AM
Permanent Martial Arts. Chapter 1017 - 1017 The Arrival of Perfected Deity Thousand Star!. Synopsis It was a dangerous era. Extraterritorial ferocious beasts occupied 90% of the living space in the world, while humans could only survive in a small space
Avatar
if you want though i doubt inkbox supports that type of book
Avatar
Ik its just a url
Avatar
well, you seem to read fast
Avatar
Yeah i get that
Avatar
i read fast in french
5:58 AM
i guess
5:58 AM
im reading House of Leaves in english so that takes more time
Avatar
i hate french
Avatar
hard to learn?
Avatar
have to learn it in school
5:58 AM
im horrid at it
Avatar
when you havent grown up with it i guess its harder
Avatar
yeah
5:59 AM
it is
5:59 AM
your brain already establishes rules
5:59 AM
and when you change those, brain hurts
Avatar
for me i think it was easier to learn english after french it's less complicated
6:00 AM
though there are strange things i get confused with sometimes like to be completely pedantic, if i have an exclamation mark in french i have to put a space before it, and not in english
6:00 AM
same thing with : or ;
Avatar
# what
6:01 AM
kinda dumb but ok
6:01 AM
i would like to learn another language, but not french
6:01 AM
i dont have french friends or anything
6:02 AM
would rather learn japanese (probably alot harder but i would actually use it semi-regularly)
6:02 AM
due to watching anime
👍 1
Avatar
Avatar
DerpyBoi
kinda dumb but ok
well, it's the last thing you try to apply when you know the rest nobody's going to yell at you if you don't maybe except in written essays you submit to college
Avatar
its like saying thats without the '
Avatar
yea although here im only saving time ;p
Avatar
i mean with thats its saving ALOT OF TIME even though i touch type, my muscle memory isnt trained for '
Avatar
needing to constantly switch between english and french keyboards, my muscle memory doesn't really know what to do
Avatar
yikes
Avatar
because half the time ' is è and conversely
6:05 AM
english keyboard is SO much more practical for programming
Avatar
it is
6:06 AM
i know its better due to my small python knowledge and javascript (im not actually writing much code its just using kubejs so i need to understand the syntax of javascript) (edited)
Avatar
example: typing { or } with ca multilingual keyboard right alt+7 also twisting your hand because you want to reach the keys only with the right hand (edited)
6:08 AM
shift+[ is better imo
Avatar
right alt + 7? is that for numpad or on number row?
Avatar
num arrow
Avatar
i just wasnt sure as i have a tenkeyless keyboard lol
Avatar
Lanzallamasruso 1/5/2024 8:42 PM
How can I return to main menu while reading a book in Tolino Shine with the built-in button with inkbox firmware?
Avatar
There is no way to do that, sorry
8:42 PM
You must click the gear and then the home icon
Avatar
Lanzallamasruso 1/5/2024 9:23 PM
Oh, maybe something that I can modify in the code and then recompile it for myself?
Avatar
[matrix] Szybet BOT 1/5/2024 9:24 PM
yes you can
Avatar
Hi, I recently ordered a Libra 2 and deciding if I should set it up with InkBox instead of the default OS. I have a few questions about it: What will I be missing out on? Should I expect better/worse performance and battery life with InkBox? Would getting a new micro SD card with a faster read/write speed increase performance?
Avatar
libra 2 is not supported.
Avatar
Avatar
Joe
Hi, I recently ordered a Libra 2 and deciding if I should set it up with InkBox instead of the default OS. I have a few questions about it: What will I be missing out on? Should I expect better/worse performance and battery life with InkBox? Would getting a new micro SD card with a faster read/write speed increase performance?
the libra 2 currently has issues with uboot and there being different revisions, unless that gets solved soon I would stick with the default OS
12:40 PM
you lose waterproofing on it if you do inkbox
12:40 PM
newer micro sd might increase boot times but not much else I think
12:41 PM
most of the time you are going to wake up from sleep so unless you need extra storage capacity I dont think it matters
Avatar
test
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 10:00 AM
Quick question to the author, but I might be stupid, is there hope that this project would become open-source at some point?
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
Quick question to the author, but I might be stupid, is there hope that this project would become open-source at some point?
Sir, you are in the wrong discord
10:40 AM
(their problem is not that their project isnt open source, it's that their github project structure is somewhat hard to follow) there are some proprietary firmware blobs from kobo but you cant fix that and they are not what's developed by this project
10:41 AM
szybet made a compile script that downloads all the repos and dependencies and compiles them in a docker container if you want to try
10:41 AM
I did it at one point
10:42 AM
you may have to go back to an older commit if tux broke it again
Avatar
There are no propertiary blobs.
10:48 AM
Its not hard to follow, a 17 year old me figured it out when i had no experience in such things
Avatar
kobo uboot isnt a blob?
Avatar
no, we compile it ourself
10:55 AM
the only blob that nicolas stupidly cals it is uboot device tree which can be decompiled, I did it once already - It's just calibration data...
10:56 AM
and the waveform calibration - It's just 1 and 0, you can look at it it calibrated the eink it's nothing more
Avatar
Avatar
Szybet
the only blob that nicolas stupidly cals it is uboot device tree which can be decompiled, I did it once already - It's just calibration data...
oh and there are sources of them in kernel sources
10:57 AM
so stop saying that or I'm gonna hurt someone next time
Avatar
is the kobo compiler open?
Avatar
we dont use a propertiary compiler
10:58 AM
we create them ourselfs
10:58 AM
niluje created a script for that
10:58 AM
tools-x
Avatar
wait I remember plato using the proprietary compiler
10:59 AM
are they lazy?
Avatar
they do not
11:00 AM
stop making up things
11:00 AM
also
11:00 AM
KOBO JUST USES ARM SUPPLIED TOOLCHAINS
Avatar
YES, IT'S LINARO
11:01 AM
This page provides links to popular downloads produced by Linaro’s engineering teams. We maintain development repositories & make regular releases of builds!
11:01 AM
gnu toolchain
11:01 AM
so it's open source somewhere anyway
Avatar
Avatar
Kuratius
Sir, you are in the wrong discord
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 2:41 PM
I see, guess I am blind haha.. I am asking because the author doesn't have a kpw3 anymore, so only someone else's attempt would be my hope.
Avatar
Avatar
Szybet
Its not hard to follow, a 17 year old me figured it out when i had no experience in such things
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 2:54 PM
Then can you also figure out a kpw3 port please? :DD
Avatar
kindle 3?
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 2:55 PM
Kindle 8th gen
Avatar
Avatar
Szybet
we dont use a propertiary compiler
i compile some kernels using linaro and/or sourcery toolchains
2:55 PM
like, 2010 sourcery toolchains
Avatar
Avatar
tux-linux
i compile some kernels using linaro and/or sourcery toolchains
still there is source for them, they are open source
Avatar
code sourcery is open source?
2:56 PM
i thought it wasnt
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
I see, guess I am blind haha.. I am asking because the author doesn't have a kpw3 anymore, so only someone else's attempt would be my hope.
there was 1 kindle supported, it still is just the process / installation is so complicated it was not described apart from that other kindles are propably locked down so we cant do anything and we focus on other things
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
Then can you also figure out a kpw3 port please? :DD
you do it ;p
Avatar
Avatar
Szybet
there was 1 kindle supported, it still is just the process / installation is so complicated it was not described apart from that other kindles are propably locked down so we cant do anything and we focus on other things
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 2:59 PM
Yeah, if it were possible I would have just upcycled the e-ink display and add a pi zero or smth like that to it.
2:59 PM
But I read that it is very deeply soldered in
Avatar
it's more complicated than that, look at #future there was a conversation about creating an open source ereader
Avatar
Avatar
tux-linux
code sourcery is open source?
whatever, not our fault this platform is so locked down
Avatar
yea
Avatar
so stop saying its not fully open source because that's bullshit
3:00 PM
its like saying its not open source because the silicon inside has not been photographec layer by layer
3:01 PM
just stop making me angry thank you
3:01 PM
also stop ignoring #future ;p
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
Yeah, if it were possible I would have just upcycled the e-ink display and add a pi zero or smth like that to it.
get a cheap used kobo / tolino and join the project if you want
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:06 PM
Well yeah, but I just wanted to give a kindle that I got from my sis after she upgraded a better functionality.
Avatar
yea not possible even if we tryied, kindles are locked down as heck
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:07 PM
Yeah, f*** bezos
Avatar
just for the future, just dont buy things from evil corporations
3:07 PM
amazon, sony, nintendo, apple
3:07 PM
etc
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:07 PM
I didn't buy that kindle
Avatar
stop your relatives from that
3:07 PM
¯\_(ツ)_/¯
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:08 PM
Hahah, don't worry, I hate on corpos outwardly already
❤️ 1
3:08 PM
Got some people to check out framework as well, after my notebook breaks down I will go with their laptop as well
3:09 PM
I had preordered the framework 16 but because of price / problems with EU shipping I went with a tuxedo instead
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:10 PM
I see. It is expensive yeah, but I mean hopefully it should be cheaper in the long term. And refurbished ones on their sites are a little bit cheaper
Avatar
its expensive as hell, I decided that I can't afford it anyway
3:11 PM
it's I think 2100 Euro vs 1700 Euro Identical spec for the tuxedo
3:12 PM
where the tuxedo one is still expensive
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:17 PM
Wasn't it like 1500€-1600€m
3:18 PM
And 13 was like 900-1100
Avatar
with the dedicated GPU and reasonable specs inside
3:18 PM
the 13 is another story
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:19 PM
Yeah, 13 is not really a workstation but it is powerful and paired with a desktop it would work great
Avatar
I need a better gpu for CAD at least sometimes
Avatar
Avatar
Szybet
with the dedicated GPU and reasonable specs inside
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:19 PM
Well yeah, but you can get creative there as well, there are people reselling some of the stuff so you could get like 100€ off...
Avatar
still to expensive
Avatar
Avatar
Szybet
I need a better gpu for CAD at least sometimes
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:20 PM
I guess in my case I only do basic stuff, since my 2016 gpu goes well with cad
Avatar
Avatar
Szybet
still to expensive
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:21 PM
True, but unless ur mobile with work/school you can get desktop pc instead or stream from it too
Avatar
hmm, my old gtx 1050ti laptop which is from 2016 couldn't even load some of my projects anymore ( closing them was a mistake! )
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:21 PM
I have R7 M465 :DD
3:22 PM
Which is like GTX 660 or GTX 295
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
True, but unless ur mobile with work/school you can get desktop pc instead or stream from it too
I don't see any sense for a PC for me, I rarely need to move my laptop but I don't need the extra performance of PC anyway
Avatar
Avatar
Szybet
I don't see any sense for a PC for me, I rarely need to move my laptop but I don't need the extra performance of PC anyway
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:22 PM
Not extra performance, but it is orders of magnitude cheaper for the same performance
Avatar
It's not that I couldn't afford a framework 16, I just think it's a waste of money and I value my money
3:23 PM
Idk how to put it so you understand
3:24 PM
I could afford it with a headache of "Thats a lot of money for not so much"
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:25 PM
460€ for RX 7700 XT + ~200€ CPU + 100€ RAM + 130€ SSD + ~100€ motherboard + <100€ power supply
Avatar
Avatar
Szybet
I could afford it with a headache of "Thats a lot of money for not so much"
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:26 PM
Yes, I am not telling you to buy it. I am just saying that a desktop would make it more worth for your buck
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
460€ for RX 7700 XT + ~200€ CPU + 100€ RAM + 130€ SSD + ~100€ motherboard + <100€ power supply
1090, so 600$ for me so I can move it when I need it eassly - yea I'm fine with that
Avatar
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚
Yes, I am not telling you to buy it. I am just saying that a desktop would make it more worth for your buck
just trying to explain how I think
Avatar
Avatar
Szybet
1090, so 600$ for me so I can move it when I need it eassly - yea I'm fine with that
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:28 PM
1090? Isn't gtx 1080 the highest?
Avatar
1090$, i summed you up
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:28 PM
Oh that, yeah
3:28 PM
600 for mobility is a lot when u said you don't move it around too much
Avatar
I know, but when I need to move it I'm glad I can
3:29 PM
also
3:29 PM
ALSO
3:29 PM
laptop has a battery so it's a UPS for me
3:30 PM
won't shut off when power goes out
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:30 PM
True, but not more than 2-3 hours tho
Avatar
just to save my code and shut it off
3:31 PM
😉
Avatar
𝙉𝙤𝙣𝙍𝙞𝙙𝙞𝙘𝙪𝙡𝙤𝙪𝙨𝘼𝙙𝙟𝙚𝙘𝙩𝙞𝙫𝙚 2/9/2024 3:31 PM
Better than buying shitty mac anyway haha
Avatar
yea, fuck apple
❤️ 1
Avatar
I do kinda want to find an old g4 or g5 apple powermac for my collection but modern apple is a disappointment
9:25 PM
One day there will be decent color eink screens and apple will come out with an e-reader and act like they invented the concept
Avatar
Hi! i already asked this in #chat, but is aura edition 2 v2 supported? I can't get it to boot. It boots with the original firmware, although touchscreen doesn't work.
Avatar
Touchscreen doesnt work in the original firmware after trying to boot inkbox?
12:14 AM
Maybe wrong device driver was run
12:14 AM
What is your model number
12:14 AM
N***
Avatar
It didn't work before trying inkbox, and of course i don't expect it to work with it, i am just curious about the project
Avatar
Aura se is n236
12:14 AM
That's the only aura we support
Avatar
It's n236 too, but there are two versions of it. You can determine which one you have looking at the 7th digit of it's serial number (0 for v1, 2 for v2 IIRC)
Avatar
Oooh
12:17 AM
Welp
12:17 AM
Idk what one i had
12:17 AM
Don't have it here now
Avatar
ok, no problem. For what i've seen I think v2 is pretty new
Avatar
"Its the other one then"
12:19 AM
Well anyway, you can port the device now😄
Avatar
I could give it a try, and even could try to get a functional one (or buying a spare screen) eventually
Avatar
You could use the old one as a second screen, photo frame or smth
12:21 AM
Or even connect a mouse to it
12:21 AM
Its possible with inkbox
12:22 AM
😄
Avatar
that sounds good
12:22 AM
Is there any beginner's guide or something 😅
Avatar
Read the wiki, read other porting threads
Avatar
Ok, thanks!
Avatar
I'm writing an essey
Avatar
essay done
Avatar
It's a free software firmware replacement for ereaders based on Alpine Linux. I've not tried it myself but wonder how it compares to the stock firmware on Kobo, particularly in terms of battery life and general performance.
Avatar
How is the second post 6 months
10:14 PM
How can you cross post to a older post
10:14 PM
Whaaat
Avatar
Avatar
Szybet
essay done
yes
10:29 PM
good essay
Avatar
Avatar
Kuratius
oh god
well, yes, people are expecting rock solid reader software
10:34 PM
what is this
10:34 PM
we have a guix package
10:34 PM
what are these guys doing
Avatar
What is guix
Avatar
lmao
10:35 PM
everything but linux
Avatar
well ok, no
Avatar
Its just mentioned
Avatar
look at the second link
Avatar
Avatar
Szybet
What
its a package manager i think
10:36 PM
especially for gnu hurd
10:36 PM
which is not linux
Avatar
What are they doing
Avatar
losing their time
10:36 PM
idk
Avatar
It's a distro too
Avatar
It compiled but never launched, huh
Avatar
lmao
Avatar
Probably
Avatar
yay you write it correctly now
😄 1
Avatar
It's not gnu hurd anymore, as far as I know
10:37 PM
The guix distro is linux based
10:37 PM
GNU Guix System or Guix System (previously known as GuixSD) is a rolling release, free and open source Linux distribution built around the GNU Guix package manager. It enables a declarative operating system configuration and allows system upgrades which the user can rollback. It uses the GNU Shepherd init system and the Linux-libre kernel, with ...
Avatar
hm ok
10:37 PM
i am confused
Avatar
Understandable, honestly
👍 1
10:41 PM
On the Gutenberg integration: Dosen't Gutenberg have a OPDS catalog? (edited)
10:42 PM
Wouldn't supporting OPDS be like two birds one stone, and give you more of a generalized way to support way more catalogs, i. e. standardebooks?
10:43 PM
I could be wrong
Avatar
Yes, i do plan on supporting opds
10:59 PM
To replace gutemberg
10:59 PM
Far future tho
10:59 PM
Even nicolas doesnt know it yet
Avatar
it seems i do now
Avatar
I honestly mostly don't use project gutenberg, their ebooks are kind of a pain to read compared to standardebooks
Avatar
With notes in inkbox, is there a way to send them to my Mac?
Avatar
Which notes
Avatar
Does Inbox work on a kindle 4? (Model D01100) (edited)
Avatar
Thanks! Any ideas whether it’s possible to do something similar with it so it could function as a simple typer?
Avatar
[matrix] Szybet BOT 2/26/2024 9:46 AM
Maybe you could inkbox to it
9:46 AM
Idk
9:47 AM
Port*
Avatar
So my old kindle paperwhite just died and I am looking for a new ebook reader on which I would like to run InkBox (really like the idea of a fully customizeable OS). The thing is,I would really like to have a screen with more than 6", since my phone's screen is already bigger than that. Are there any devices you guys can recommend me? A quick look at the supported device list on github didn't result in any obvious choice, so I wanted to ask if there is a device that either already has ports in progress or should be fairly easy to port to. If not I would be happy to kickstart the porting process for a new device that fits those criterias. I am a professional cpp dev, and while I myself have never worked with serial ports or kernel level code I am somewhat confident that I can figure things out if someone with more experience is willing to guide me. Obviously I would like to avoid devices/manufacturers that make this unnecessarily difficult by using proprietary hardware/drivers, so are there any device families that were more troublesome to support than others during past ports?
Avatar
Hmm... Idk about a device which is more than 6' - there is a kobo libra port but i think its hard to install? Idk @tux-linux explain Kobo aura h20 is a bit above 6' and already booted inkbox, look up the porting thread Kobo clara 2e should be very easy to port Apart from that, any kobo which has an sd card and kernel sources available ( probably all of them ) should be able to be ported Kobo's are awesome You are a proffesionall dev and we are just students so you know more than us. Did i mention we look for contributors ;)? Serial port is easy to use, no problems with that even we figured it out
Avatar
Avatar
[matrix] Szybet
Maybe you could inkbox to it
Thanks! How would I do this? Lol I can access a web browser on the kindle but I haven’t taken it apart to see if there is an internal sd
Avatar
Look up porting threads
11:27 AM
Apart from that, figure out if its locked up
11:27 AM
Some kindles dont allow booting custom bootloaders and kernels, fuck amazon
11:27 AM
And yes, taking it apart is required
Avatar
Hmm, I found the libra 2 thread in #porting and looking at the last few messages it would appear like progress is currently stalled.
Avatar
Im not sure what device it is exaclty
11:35 AM
Nicolas on yt videos shows a bigger ereader, idk which one is it
Avatar
Avatar
Szybet
And yes, taking it apart is required
I don’t have an issue taking this thing apart. I have seen someone use a raspberry pi with a kindle paper white. Unsure if that process would work on this one (previous gen)
Avatar
Idk needs to be checked
Avatar
hows the kobo libra 2 port going?
Avatar
#deleted-channel
1:48 PM
We got the kernel sources recently
1:48 PM
For it
Avatar
Oh, thats great news! Thats the device I am looking into right now.
Avatar
We didnt booted the kernel yet, we didnt checked if it really is there, the device had many revisions so you might buy a different one (edited)
12:20 PM
To keep in mind^
Avatar
Out of curiosity, where exactly are the kernel sources located? I checked the kobo github, but that appears to be horribly out of date.
2:40 PM
Yeah, hopefully I get the same rev you are already working on, or something that is similar enough that I can figure it out with a bit of help over the weekend. Worst case I just re-flash the stock OS :/
Avatar
Avatar
Ansraer
Out of curiosity, where exactly are the kernel sources located? I checked the kobo github, but that appears to be horribly out of date.
which ones
Avatar
libra 2
Avatar
original manufacturers?
2:42 PM
its there, its just not described properly kobo pointed us to the clara 2e sources which may indicate this kernel works for many devices - it works for kobo nia model a for example
2:42 PM
which is cool
2:42 PM
look up the porting threads, there is more info about this
Avatar
That is weird, since they already have a libra2 folder as well. And the clara 2e kernel tar on github is also more than a year old while there appear to be newer versions of the original OS.
Avatar
it probably depends on the revision
Avatar
Yeah, I will figure it out somehow.
3:06 PM
Do you know if I need a microSd or a normal SD card for Kobo devices?
Avatar
hiiii homies omg
3:40 PM
i found this from like a 3 year old reddit thread and im a security researcher and i think thiis is actually cool asf
3:41 PM
ok hold on
Avatar
Avatar
Ansraer
Yeah, I will figure it out somehow.
micro sd or eemc chip
3:41 PM
please check if it has an micro sd, otherwise it can be hard or impossible
Avatar
Avatar
oats<3
i found this from like a 3 year old reddit thread and im a security researcher and i think thiis is actually cool asf
cool
3:41 PM
hi
3:42 PM
im getting my first ereader in like 15 years because my public library uses libby and i am so excited!!!
Avatar
inkbox doesnt support libby
Avatar
OH NOOOO
Avatar
but you can PR it!
Avatar
thats okay im more invested in the inkbox research and os more than anything else. Im also getting a clara 2e so to my knowledge i dont have a microsd slot, i think its all internal storage
Avatar
inkbox is open source
3:43 PM
you can contribute anything you want
3:43 PM
we will help
Avatar
omg cute okay
Avatar
Avatar
oats<3
thats okay im more invested in the inkbox research and os more than anything else. Im also getting a clara 2e so to my knowledge i dont have a microsd slot, i think its all internal storage
clara 2e to my knowledge has a micro sd card AND uses the same kernel as kobo nia model A which should be super easy to port
3:45 PM
it has
3:46 PM
eassly to access serial port too
3:46 PM
kobo ❤️
Avatar
sexy and cute omg
3:46 PM
so happy i chose a kobo over a kindle
Avatar
i agree
3:46 PM
kindles are locked down for some models that we cant even boot a custom bootloader / kernel
Avatar
that is FUCKED
Avatar
ive gotta say i havent done a lot of lowlevel research into ereaders but im really excited to start
Avatar
1 student created this os and a second student contributes since a year
3:47 PM
we figured it out so its not that hard
Avatar
im sooo excited
😄 1
Avatar
Avatar
Szybet
eassly to access serial port too
easily but should write easy
🥴 1
Avatar
Check the email when you have time
Avatar
Avatar
Ansraer
but you can PR it!
libby is not open source afaik
Avatar
Reverse engineer them
Avatar
are you serious
10:24 PM
its drm technology
Avatar
Thats exactly why we should hack them
Avatar
If its only a rest/tcp/websocket API reverse engineering it should be fairly simple with tools such as wireshark. The troublesome thing is that interacting with a public API could count as "illegally accessign a private computer system". 🙁
Avatar
So I have been thinking about how I could go about adding support for other novel formats and libraries (e.g. continously updating webnovels from royalroad, they are a guilty pressure of mine)
8:11 AM
Right now my idea is to create an interface for book objects and remote libraries and then use the low level QT plugin API to let users load their own implementations of these classes. (edited)
8:13 AM
As part of these proposed changes I would probably move the current default epub/pdf/etc novel object into one such extension that is statically linked into the app itself and always enabled.
8:15 AM
The idea is to make it as easy as possible to add new novel formats / libraries for users. Basically if they want to read something we don't support out of the box they should be able to quickly write their own Inkbox plugin to add support.
8:15 AM
Would such a change be accepted as a PR?
8:17 AM
(Of course we would probably need to talk about security later on since out of the box QT plugins are just dyn libraries that are loaded at runtime, but adding some kind of signing check before loading them should be fairly simple)
Avatar
Avatar
Ansraer
Would such a change be accepted as a PR?
Yes
Avatar
Avatar
Ansraer
(Of course we would probably need to talk about security later on since out of the box QT plugins are just dyn libraries that are loaded at runtime, but adding some kind of signing check before loading them should be fairly simple)
They could be signed like all things in inkbox do
Avatar
Avatar
Ansraer
Right now my idea is to create an interface for book objects and remote libraries and then use the low level QT plugin API to let users load their own implementations of these classes. (edited)
In our new reader which is in the works we use mupdf
8:51 AM
Converting it to use a format class is possible for sure
Avatar
Ah, thats good to know. Do you have this new reader on github somewhere?
Avatar
On my github inkbox fork, branch named toreader
👍 1
8:53 AM
Basically every thing format dependeng would go to call a class
Avatar
My idea was that the plugin's novel implementation would transform the book data into a generic format that is then sent to the reader. So the reader would always get the same input format, and all the conversion happens in the plugin.
Avatar
Mupdf converts everything into html
8:56 AM
So that would be possible for sure
Avatar
Ah, that sounds great!
8:57 AM
hmm, does mupdf support css?
8:57 AM
not realle relevant to the plugin system, but it would open up some interesting possibilites.
Avatar
Kind of a few things
8:58 AM
But qt subset of css is limited
8:58 AM
But we could build qt webengine 5.10 to enable more of it But i wasnt able to cross compile it
Avatar
Ah, so the QT Inkbox app calls Mupdf, which returns HTML code which is then rendered by QT?
9:01 AM
I thought mupdf rendered the html to a framebuffer that was then embedded as an image, but keeping all the rendering in Inkbox itself sounds way better
Avatar
Its more complicated thsn that because we use mupdf library directly but yes
Avatar
Avatar
Ansraer
I thought mupdf rendered the html to a framebuffer that was then embedded as an image, but keeping all the rendering in Inkbox itself sounds way better
Its not efficient and doesnt enable selecting the text, but yes possible it is
Avatar
Good to know that Inkbox already includes the qt webengine. Adding that would have been another PR I might have looked into over the summer. I would like to get interactive text adventures running on my ereader, and I know that many of them support html/js. So going that route would be faaar simpler than implementing my own text adventurer parser in c++ (especially given how many formats there are).
Avatar
You didnt understand me, it doesnt include it because we wasnt able to compile it at all
9:04 AM
Text adventures? We have an app for that
Avatar
Wait, how do you render the mupdf output without it?
Avatar
Qtextbrowser
9:04 AM
Which is very basic html and css
Avatar
I ...did not even know that was a thing
9:05 AM
Odd though that webengine isn't compiling, afaik that is a fairly popular module. I take it there are only problems when compiling for the more exotic platforms?
Avatar
Qt has many mystery classes
9:13 AM
glibc is old
9:14 AM
So we need an older version of qt webengine, maybe 5.1 will work but nss is too hard to compile
9:14 AM
But mysl qt should work
9:14 AM
So there are 2 ways to do that
Avatar
uhm, why are you using an old glibc version?
Avatar
Old kernels
Avatar
But the releases on github aren't older than 1-3 years
9:15 AM
wait, how old is the stuff that is based on?
Avatar
Some devices have kernel 2.9 x, even no so old ones
9:17 AM
Its not really tha of a limitation, as i described there are 2 paths how to make it work
Avatar
Ah, makes sense. Kind of a shame since proper js and css support would have been neat, but I fight enough with buildsystems at work to volunteer to do it in my spare time as well.
Avatar
Well its possible but yea
Avatar
The fact that the codebase is using lower camel case for cpp class names is killing me. What is wrong with UpperCamelCase? 😭
Avatar
Upper camel case is used for object names
10:08 AM
At least should be
10:08 AM
Welp my programming is questionable sometimes
10:08 AM
Programming at night is questionable too
10:17 AM
What in god's name is explore_local_library.sh, why does it exist, where does it exist (cause I can't find it on GH) and are there any other sh files I should know about?
Avatar
Gui bundle
10:52 AM
Repo
10:52 AM
Some or maybe most of injbox code should be rewritten
10:52 AM
🥴
Avatar
thanks. The question remains, why? It would have been far more efficient to do the library loading in cpp
Avatar
Because nicolas
10:53 AM
Fewl free to rewrite that, or everything really
Avatar
Also, we REALLY need some kind of device abstraction. There are unnecessary if/else everywhere and for some reason inkbox thinks my laptop isn't wifi capable.
10:54 AM
You are right There are 2 of us, we focused to get something working at all. Now its time to do it properlh
Avatar
Avatar
Ansraer
Also, we REALLY need some kind of device abstraction. There are unnecessary if/else everywhere and for some reason inkbox thinks my laptop isn't wifi capable.
Wifi what?
Avatar
global::device::isWifiAble
10:55 AM
which is only set when a config file exists, which, I pressume, is created manualy when you bundle inkbox as part of the OS
Avatar
The global thing is bad, its the main thing to rewrite
10:56 AM
But yes, this bool indicates if a device has working wifi ( probably )
10:56 AM
Idk
10:56 AM
In imgtool probably
10:58 AM
Feel free to rewrite anything you want, i plan to do that anyway in summer
Avatar
Avatar
Ansraer
Also, we REALLY need some kind of device abstraction. There are unnecessary if/else everywhere and for some reason inkbox thinks my laptop isn't wifi capable.
Wait did you run inkbox on your pc? Thats not supported
10:59 AM
I know, but it is way fast to test stuff and debug
Avatar
Not supported and no reason for it to be
10:59 AM
Yea
Avatar
So I am hacking it to work.
11:00 AM
Managed to get it running in 5 min
11:01 AM
Problem are all the external files like e.g. the sh scripts, but imo all of them should just be brought into inkbox itself. So ideally I would like inkbox to support running on a PC out of the box.
Avatar
Yes, sure
11:01 AM
But maybe first rewrite things to make them properly
11:02 AM
Dont build on bad code that will be rewritten anyway
11:02 AM
I may share a TODO for inkbox if you want to start
Avatar
I probably want to start by rewriting how book metadata is stored.
11:04 AM
Right now it just passes json objects around and deserializes what it needs, often repeatedly.
11:04 AM
imo we should deserialize that once into a struct and then only pass that around. Would be far cleaner code
11:05 AM
out of curiosity, what is /mnt/onboard/.adds/inkbox/eink.qss (edited)
Avatar
ah, apparently that is the stylesheet. Does this change between different e-readers or why isn't this just included in /resources?
Avatar
Avatar
Ansraer
Right now it just passes json objects around and deserializes what it needs, often repeatedly.
Its library metadata
Avatar
Avatar
Ansraer
ah, apparently that is the stylesheet. Does this change between different e-readers or why isn't this just included in /resources?
Different sizes, some adjustments Making svg scale is hard, so yea. Maybe it could be one typical but im not sure its possible
Avatar
Fuck this, I am PRing a platform refactor
Avatar
Yes, very cool
11:15 AM
If you are so invested i could give you access to one of my ereaders
11:15 AM
Via ssh
11:15 AM
I have already a tool to view the screen on pc
Avatar
tbh I am fairly happy with my current setup. Since i plan to get it running on PC anyways.
Avatar
And I should hopefully have my libra2 soon. (Though I am still waiting for someone to test the kernel, cause thats something I have little experience with)
Avatar
@tux-linux please
Avatar
Avatar
Ansraer
tbh I am fairly happy with my current setup. Since i plan to get it running on PC anyways.
So i should probably give you the todo of what to refactor in inkbox code
Avatar
Btw, would it be ok if I move the UI stuff (reader, home, library, splash, etc.) into a "ui" subfolder?
11:17 AM
Maybe make a GH issue out of it?
11:18 AM
No, just do it
11:18 AM
Widgets folder too
Avatar
My goal would be something like: inkbox/ - api/ - audio/ - encryption/ - platform/ - ui/ - splash/ - home/ ... - telemetry/
Avatar
I will post the todo later, cant on my phone
11:21 AM
Yes, cool
11:22 AM
Here are some ss of them Some of the things you cant do, but refactoring code for sure
11:22 AM
11:22 AM
+ my recent message at #dev
Avatar
Hmm, will look into this some more after work. What I could really need is a list of the different screen sizes (in pixels) that the supported devices have. Right now a lot of UI decisions (padding sizes, icon sizes, ...) are based on the device id, but imo going by screen size would make much more sense and also have the advantage to work out of the box for new devices once their screen size has been added.
Avatar
Not all devices have the same screen size despite having the same resolution
1:58 PM
Hence the need for device ids
Avatar
Well, the current way of doing it just isn't feasible long term
Avatar
So yes it would be great but wouldn't be perfect for every device
Avatar
Right now screen sizes are hard coded in massive if/else statements. We either need to have a limited number of different icon sizes (e.g. small medium and large) that can be hardcoded for a specific device or we need a way to calculate icon sizes automatically based on data we have about the device (e.g. resolution and/or dpi)
Avatar
Yes, I already calculate icon sizes
2:12 PM
The current deviceID implementation should be improved but I don't really see how
Avatar
Via configs and classes
Avatar
@Ansraer do you have a fork of inkbox repo on github?
Avatar
I am at work right now, will upload my stuff in 2 hours.
2:32 PM
The device related stuff is pretty much done, I am fighting with functions.h right now.
2:33 PM
That file contains way too much code from all over the project.
2:33 PM
I am trying to split it up, but it is a difficult process.
Avatar
yea, thanks for your work (edited)
Avatar
I will probably stop soonish and just PR what I have right now, I can continue cleaning stuff up as I refine and rewrite things during my next PRs.
👍 1
Avatar
it's better to leave functions.h unchanged for now until you redesign it completely then I think
Avatar
The one thing I really want to figure out is how I can make stylesheet loading better. Right now we are using hardcoded paths to qss files all over the place, so changing those styles would be a nightmare. Having a small utility function that handles the majority of that would help to keep code duplication down while also giving us a single central spot we would need to edit if we want to change something.
Avatar
the qss file is integrated into the binary
2:37 PM
but yea
Avatar
The problem is that right now there isn't really a good spot where I can put a small utility function.
2:37 PM
uhm no?
2:37 PM
Since it has device specific overwrites it is loaded from outside the binary
2:38 PM
yes
2:38 PM
sorry i was confused from when it was integrated in the binary
2:38 PM
that was before we had different screen sizes
2:38 PM
but it's a fixed path in the os
Avatar
So we have dozens of hardcoded paths to a random location on the filesystem, that only work when the app is running on the custom OS.
2:39 PM
it is fixed, but every time the Stylesheet is loaded it needs to supply the full path:
Avatar
yes
2:39 PM
thanks qt
Avatar
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss"); stylesheetFile.open(QFile::ReadOnly); w.setStyleSheet(stylesheetFile.readAll()); stylesheetFile.close(); We have the above code snippet dozens of times throughout the code base. I would prefer it if we could do something along the lines of: Style::applyStyle(&w, "eink"); This way we won't need to make sure that everything uses the same path (since that is handled by the function) while also having a really easy option to switch the path when running on a platform where we don't control the devices full file system.
2:44 PM
The thing is that right now I have no clue where to put this. Since I REALLY don't want to add any new code to functions.h
Avatar
yea maybe a macro
2:47 PM
at worst
Avatar
Avatar
tux-linux
it's better to leave functions.h unchanged for now until you redesign it completely then I think
No, let it finally burn
3:08 PM
@tux-linux @Ansraer applying stylesheet from a file should and is app wide, so its not needed everywhere Look at sanki code, it uses it only once As for how to use it on PC... Just include it in the binary if the target is PC, some ifdefs will do for that
Avatar
Uhm... The current codebase does it 25 times
Avatar
Yea we were really stupid
Avatar
at least. Search for "stylesheetFile("
3:09 PM
So, when and where should I do this instead?
Avatar
Avatar
Szybet
@tux-linux @Ansraer applying stylesheet from a file should and is app wide, so its not needed everywhere Look at sanki code, it uses it only once As for how to use it on PC... Just include it in the binary if the target is PC, some ifdefs will do for that
no, it is
3:09 PM
qt is fucked
Avatar
If its using it for something specific thats another thing
Avatar
Avatar
tux-linux
no, it is
Dont force me to turn my laptop on to show you sanki code
Avatar
Because it looks like I need to set it for every widget
Avatar
Oh god eh
Avatar
yes, you need for every widget
Avatar
@Ansraer look up sanki repo on my github
Avatar
Avatar
tux-linux
yes, you need for every widget
Ah and i wanted to sleep, give me a minute i will go to my laptop
3:13 PM
3:13 PM
yes its only once
3:13 PM
a.setStyle("windows"); QFile stylesheetFile("://other/eink.qss"); stylesheetFile.open(QFile::ReadOnly); a.setStyleSheet(stylesheetFile.readAll()); stylesheetFile.close(); qDebug() << "Applied stylesheet for ereader";
3:13 PM
here is how to do it in main.cpp
3:14 PM
the path i use is in binary via qrc files
Avatar
did you try it in inkbox
Avatar
listen
3:14 PM
inkbox is not a cursed demon
3:14 PM
we can make it work everywhere
3:14 PM
thank you
Avatar
Avatar
Szybet
inkbox is not a cursed demon
it is
Avatar
Avatar
tux-linux
it is
sanki was too after i have rewritten it
3:15 PM
the real demons are all the errors we have done when we started coding
Avatar
Avatar
Ansraer
QFile stylesheetFile("/mnt/onboard/.adds/inkbox/eink.qss"); stylesheetFile.open(QFile::ReadOnly); w.setStyleSheet(stylesheetFile.readAll()); stylesheetFile.close(); We have the above code snippet dozens of times throughout the code base. I would prefer it if we could do something along the lines of: Style::applyStyle(&w, "eink"); This way we won't need to make sure that everything uses the same path (since that is handled by the function) while also having a really easy option to switch the path when running on a platform where we don't control the devices full file system.
now for the mainwindow but for the qapp
3:16 PM
thats the difference
3:16 PM
:D
3:16 PM
so discussion closed
Avatar
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
3:16 PM
See? It didn't do anything
Avatar
MainWindow w
Avatar
QApplication a(argc, argv);
3:17 PM
Avatar
ah, kobo nia, nice
8:50 PM
I have it too, I ported it
8:50 PM
I develop inkbox on it
8:50 PM
usb should work ;p
8:50 PM
well the issue then is the small size, right?
Avatar
yeah,the size of the SD card is the issue.. yeah
Avatar
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
8:52 PM
Here, it's a flaw of the current implementation, I plan to fix it this summer
Avatar
hey this is great
Avatar
for now it's needed to be done manually
Avatar
anyway to do it from WindBlows?
Avatar
use the second solution directly
Avatar
Avatar
Xsf_Nrg_4fr
anyway to do it from WindBlows?
what is that
8:52 PM
windows?
8:52 PM
ah
Avatar
yup
Avatar
Hmmm, I quess from virtualbox or WSL with no issue (edited)
Avatar
okay, I see
Avatar
or other linux to windows toolkit or smth
Avatar
I will see what i can come up with, tahnk you
👍 1
Avatar
turn of kobox if the device feels too slow for you (edited)
Avatar
BlinkOS is a less clear name
6:29 PM
Dosen't advertise itself well
Avatar
It's not a copyrighted tatoo technology name🥴
Avatar
You need people to be able to read the name and have a clearer hint of where the product is used
6:30 PM
Like something related to the fact that this is ereader software
6:30 PM
BlinkOS feels generic
Avatar
Blink OS hmm, it's an OS for what? blink? what electronic do blink? EINK screen blink a lot from white to black :D
Avatar
Yeah, no
Avatar
we had a lot of propositions at #future
6:31 PM
this is really the only one
Avatar
hm no?
Avatar
this one makes the most sense
Avatar
That's really not going to be people's first guess
6:32 PM
OH YEAH BlinkOS that must be for ereader devices because only eink blinks
6:32 PM
Who would think this
Avatar
there are worse names used for bigger things, you know
Avatar
I can imagine the brainstorming that lead to the name
Avatar
Read 4 Answers from lawyers to Can I trademark a name that may be used by another company on a different industry? - Intellectual Property Questions & Answers - Justia Ask a Lawyer
Avatar
But I don't think it's a great name
Avatar
Avatar
Szybet
there are worse names used for bigger things, you know
I understand, InkBox isn't a good candidate any longer, as well
Avatar
Avatar
mintpilo
Who would think this
I hope for an "Oooh that's why it is so"
Avatar
But neither is BlinkOS
Avatar
InkBox OS seems okay to me... is a decidedly different use case and industry from some tatoo company
6:34 PM
If the name is always appended by OS, then it will clearly avoid confusion, and the due diligence is exercised
Avatar
To you and @mintpilo regarding this even if the tatoo company will be okay with it, in our 2.0 release every post had a comment "What? the tatoo thing?"
Avatar
And yes it's bad
Avatar
I'm not saying you should go with InkBox
6:34 PM
This needs more brainstorming
Avatar
well, any other, better propositions that nicolas will accept?
Avatar
Avatar
mintpilo
This needs more brainstorming
a few months is enough for me
Avatar
Hi, I was trying to install inkbox on my Kobo Nia. When I try to flash the image with balena etcher it says that the image is corrupted.
10:58 PM
ss?
Avatar
Avatar
Szybet
ss?
?
Avatar
Did you try to checksum the image?
2:11 PM
inkbox-2.0-n705.xz 2e103043cafe391b75d37907c25f5a5d1437f1e630008c612c882d19ff837446 inkbox-2.0-n905b.xz 3e0a1826aefc2ee801b4333e8a4666bf83cb0ab025ea0f156ffc650fccc23b57 inkbox-2.0-n905c.xz 4a163146b09faff5d0051c1f7521cc05e0563b879b33e44a4c23146232c78b6d inkbox-2.0-n613.xz d62d6fd2a20170e0d000635ac89005fee335f04749686062aaea3878ce240a6e inkbox-2.0-n236.xz fbf846fcd9111fc0f09961c62b98e2249f1032822497a5ba00f1afe4b63d69c7 inkbox-2.0-n437.xz fb5f083b3c2c878bb66cf7a732e6dc4d9fc68707e9a6bf5efc1e43b2d0b3ece5 inkbox-2.0-n306_a.xz 6f86d2924d11b063286875fa18c57e6dd221d484ab49340db3686f3e7a61963e
2:11 PM
sha256sum
Avatar
Avatar
tux-linux
Did you try to checksum the image?
I wanted to do so but didn't know how to do that on windows
Avatar
So I tried another image of another device but still the same error in balena etcher I even changed pc
Avatar
dont try another image
2:12 PM
it will brick your device probably
2:13 PM
maybe etcher is the problem otherwise you can try with linux vm/livecd
Avatar
Avatar
tux-linux
it will brick your device probably
I know I was trying to see if etcher was ok
👍 1
2:14 PM
I even changed PC but still the same error
Avatar
Anyways, thanks for the link (edited)
Avatar
Tell me if the checksums match
2:17 PM
I'll let you know
Avatar
Avatar
Leo Chrom
?
screen shot
Avatar
Avatar
tux-linux
Tell me if the checksums match
They match
Avatar
hmm
2:46 PM
try linux livecd
Avatar
screen
2:46 PM
shot
2:47 PM
It's a very long error
Avatar
run with root
2:47 PM
balena dtcher
Avatar
Same error
Avatar
try a different sd card
2:49 PM
I changed SD but still the same problem
2:50 PM
I'm trying with linux
Avatar
fucking javascript
2:50 PM
try linux, yea
Avatar
Avatar
Szybet
try linux, yea
Still etcher?
2:50 PM
Or dd
Avatar
yes, if that won't work then dd
Avatar
I found an iso in my pc
2:52 PM
Mint 21
Avatar
will be fine
Avatar
It's not reading my SD card
Avatar
Uhuuu
3:28 PM
It's working after lots of typos
3:28 PM
Probably
Avatar
Nothing is happening (edited)
3:40 PM
Oh yes it's flashing
Avatar
idk what you are doing but your sd card maybe entered read only mode
4:09 PM
Answer (1 of 23): A micro SD card becoming read-only can be frustrating, but there are several ways to try and fix it. Here are some methods you can try, starting with the least intrusive and progressively moving towards more advanced options:
  • Physical Lock Switch: Some micro SD cards have a ...
Avatar
@Szybet @tux-linux thank you so much
😄 3
Avatar
How are the impressions?
Avatar
Do you mean mine?
5:23 PM
I'm trying rn to make the otg thing work
5:24 PM
But overall it's amazing there is a huge work behind this project
Avatar
I'm still learning how to use the user apps and how kobox works
Avatar
Avatar
Leo Chrom
I'm trying rn to make the otg thing work
WHY DONT YOU ASK :(?
Avatar
What's wrong
Avatar
He's burning with motivation
Avatar
everything is perfect. https://github.com/Szybet/niAudio
Kobo nia ereader with audio added. Contribute to Szybet/niAudio development by creating an account on GitHub.
6:14 PM
i have been using my kobo nia with keyboard for a year in school
Avatar
Avatar
Szybet
i have been using my kobo nia with keyboard for a year in school
Well idk what I'm doing wrong but it's not doing anything
Avatar
the TLDR is that you need to charge your Nia and change a few things inside the device
6:15 PM
a few commands
6:15 PM
first root your device
Avatar
Avatar
Leo Chrom
I'm still learning how to use the user apps and how kobox works
kobox is a bit bad, i suggest you turn it off
Avatar
Avatar
Szybet
the TLDR is that you need to charge your Nia and change a few things inside the device
Oh, well I'm not too experienced
Avatar
Avatar
Szybet
everything is perfect. https://github.com/Szybet/niAudio
this is a project which uses a custom PCB and 3d printed parts to create a modular laptop, look up here: https://github.com/Szybet/niAudio/tree/main/keyboard
Avatar
Oh ok
6:17 PM
I'll try thank you
Avatar
so it's a overkill solution to what you are trying to do
Avatar
Avatar
Leo Chrom
Oh, well I'm not too experienced
yea i propose you ask me everything about usb otg because i have spent one year making it work with inkbox (edited)
Avatar
allright
6:20 PM
Seems like it's well spent time
6:20 PM
Bc it's so useful with a keyboard
Avatar
for a year I have been writing notes on it in school
6:21 PM
worked awesome
Avatar
Wow
Avatar
It's a full working prototype
6:22 PM
would need a 2.0 version for sure but yea
Avatar
Avatar
Szybet
would need a 2.0 version for sure but yea
ofc it is i've just installed yesterday lol (edited)
Avatar
I mean the niaudio thing
6:23 PM
inkbox supports USB in a fair way
Avatar
Avatar
Szybet
I mean the niaudio thing
electronics etc.
Avatar
great
Avatar
[matrix] andi1 BOT 3/20/2024 6:25 PM
yes, usb on the kobos is nice
Avatar
so basically you can connect lots of pheripals (edited)
Avatar
[matrix] andi1 BOT 3/20/2024 6:25 PM
I am also using it in an unusual way
6:26 PM
if you provide the external power
6:26 PM
yes
Avatar
Avatar
Leo Chrom
so basically you can connect lots of pheripals (edited)
it depends
6:26 PM
now it's a yes
6:26 PM
making hot plugging input devices was hard
6:26 PM
mouse support was hard to implement too
6:27 PM
audio support is still complicated
Avatar
[matrix] andi1 BOT 3/20/2024 6:27 PM
what is a bit nasty: if you have old kernels and usb devices not supported by them
Avatar
how nia can play audio
6:27 PM
you need an ext speaker
Avatar
[matrix] andi1 BOT 3/20/2024 6:27 PM
usb soundcard
Avatar
Via usb sound card ;p
Avatar
Avatar
Szybet
Via usb sound card ;p
ohhh
Avatar
that's the thing why i created this thing
6:27 PM
it has a slot on the back where the usb audio card slides in
Avatar
so basically with feather notes otg keyboard is supported
Avatar
mouse too
6:29 PM
keyboard in rss guard also works
6:29 PM
audio is complicated but can be done to work
6:30 PM
but yes, feathernotes was my main target
Avatar
amazing
6:33 PM
i always wondered if it was possible to mess around with a kobo nia but i didn't know that all of this was possible
Avatar
everything is possible if you spend enough time on it
6:33 PM
I spend a year
Avatar
well now i have a strange problem
6:34 PM
i put feather notes inside .apps folder but it disappeared (edited)
Avatar
yes i tried 2 times already
Avatar
you unmounted it incorrectly?
Avatar
whatever, root your device
6:39 PM
i posted about it here too
Avatar
Avatar
Szybet
i posted about it here too
alr, hope i'm able to
Avatar
Avatar
Szybet
whatever, root your device
then upload this app remotely, usb is finnicky
6:40 PM
you won't be able to make usb work without rooting the device anyway
Avatar
but do you need any particular hardware?
Avatar
nope, not really
Avatar
Avatar
Szybet
everything is perfect. https://github.com/Szybet/niAudio
so how can i do it is it in here?
Avatar
you mean what
6:42 PM
make usb work?
Avatar
root my kobo
6:42 PM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
6:42 PM
here
Avatar
oh arl thx
6:42 PM
here exactly
6:43 PM
a bit chaotic
6:43 PM
but you will figure it out
Avatar
ye i already read the wiki didn't notice this article
Avatar
its chaotic
Avatar
yes but after this what i get
6:44 PM
the usb thing?
Avatar
I will give you a funny command and it will make your usb work
6:45 PM
after that we will see
6:45 PM
also figure out a way to power the device while having the keyboard plugged in
Avatar
yes but if i do this procedure basically i'm able to do more intresting things
Avatar
rooting the device? yes, obviously
Avatar
alr
6:48 PM
well if i don't understand something i'll let you know
👍 1
6:49 PM
since i don't have linux installed is it all possible on a live cd?
6:50 PM
or virtualbox
6:50 PM
maybe virtualbox or wsl, you will waste time booting the things
Avatar
i've got wsl but it's a mess when you have ext devices
Avatar
you only need ssh & scp
Avatar
well idk what they are 😢
Avatar
magick tools
6:52 PM
google it, wsl has them for sure
Avatar
Idk what's going on everytime I put feather notes it disappears
6:54 PM
Is it limited to 3 apps?
Avatar
So how it's possible
Avatar
idk
6:54 PM
@Szybet
6:54 PM
is the scrollbar at the most farther down position
Avatar
It simply disappears
Avatar
Avatar
tux-linux
is the scrollbar at the most farther down position
Yes but as you can see it disappears completely
Avatar
wait for szybet he designed user apps
Avatar
create an empty folder, unmount, mount and check if it exists
6:58 PM
also root the device as i said to upload the app manually
Avatar
Avatar
Szybet
also root the device as i said to upload the app manually
Well I can't do that right now since I don't have much time left
Avatar
you can just launch diags process to root it
Avatar
But I'll try to make the folder
Avatar
Avatar
tux-linux
you can just launch diags process to root it
Really?
Avatar
you need to do it anyway ¯\_(ツ)_/¯
Avatar
go to diags->reset as root
7:00 PM
will take ~20m
7:00 PM
also
7:00 PM
leave it plugged in
Avatar
Avatar
tux-linux
go to diags->reset as root
Uh. Diagnostics?
Avatar
click power button repeatedly at boot
Avatar
Avatar
tux-linux
click power button repeatedly at boot
Yes ik I've discovered that
7:00 PM
I'll try
Avatar
Avatar
Szybet
create an empty folder, unmount, mount and check if it exists
It exists
Avatar
¯\_(ツ)_/¯
7:03 PM
no idea
Avatar
Lol
Avatar
root the device
Avatar
I'm resetting with root
Avatar
Avatar
Leo Chrom
I'm resetting with root
What is this
Avatar
choose 512
Avatar
Is it related to my SD card size
Avatar
yes but no
Avatar
choose 512, can be changed later anyway
Avatar
Avatar
Szybet
choose 512, can be changed later anyway
Oh ok but it's not the storage size for the user
Avatar
yes but no
7:29 PM
its complicated
Avatar
In the meantime it's resetting
Avatar
It's black
Avatar
it rebooted?
7:42 PM
did you try to power it on
Avatar
It just turned black
Avatar
Avatar
tux-linux
did you try to power it on
No
Avatar
well, try to
Avatar
I'm keeping this off as you suggested
7:48 PM
even bc i noticed that sometimes it made my kobo freeze
7:54 PM
Awesome
7:58 PM
Wahoooooooooooooo
😀 1
Avatar
now, i have rooted my device, so what should i do to enable the otg
8:30 PM
the keyboard and mouse
Avatar
do you have any way to charge the device while the keyboard is connected
8:30 PM
probably
Avatar
figure this out first
8:30 PM
¯\_(ツ)_/¯
Avatar
Mhm can this work?
9:13 PM
The keyboard only powers up briefly (edited)
9:16 PM
9:16 PM
It's charging but the keyboard doesn't work
Avatar
caution, this icon does not necessarily update in real-time
9:16 PM
only when you change tabs
Avatar
Avatar
Leo Chrom
The keyboard only powers up briefly (edited)
maybe is it too power-hungry somehow
Avatar
yea, but now try to unplug it
Avatar
Well it's not updating
9:19 PM
But the point is that the keyboard seems to work but then it turns off
Avatar
do you have another one to play around with
Avatar
Another what
Avatar
keyboard
Avatar
Oh yes
9:22 PM
The other doesn't work too
9:23 PM
This powers up though
9:25 PM
Well, this usb doesn't so maybe everything is not working
Avatar
oof, don't expect anything to work
9:25 PM
are you sure the keyboard and the ereader is charging / has power?
9:25 PM
and they are connected?
Avatar
The ereader is charging
Avatar
well ok, connect to the ereader via ssh
9:27 PM
then upload feathernotes ( its in /data/onboard/.apps/ )
9:27 PM
reboot
9:27 PM
make sure feathernotes is working now
9:27 PM
upload feathernotes via scp
9:27 PM
then in ssh execute
Avatar
dmesg -c echo host > /sys/kernel/debug/ci_hdrc.0/role dmesg and show the output
Avatar
Avatar
Leo Chrom
Click to see attachment 🖼️
i doubt this will work
9:30 PM
why should it?
Avatar
Avatar
Szybet
i doubt this will work
Mee too
Avatar
how is power delivered via usb a?
Avatar
Avatar
Szybet
how is power delivered via usb a?
Kobo recives the Power and it's charging
Avatar
whatever
9:32 PM
do what I said
Avatar
Yes
9:34 PM
What is the SSH passwd
9:34 PM
Root?
9:35 PM
root
9:35 PM
root
Avatar
Permission denied
9:36 PM
It's not the correct password
9:36 PM
BC I checked the IP and it's correct
Avatar
are you sure
Avatar
Yes
Avatar
what is the prompt looking like
Avatar
Wait a moment
9:42 PM
Do I need to enable something here?
Avatar
usbnet^
9:43 PM
?
Avatar
Oh ok it was disabled 😶
9:44 PM
I turned it off bc usb mass storage doesn't work
9:44 PM
With it enabled
Avatar
dont care about usbms
9:44 PM
usbnet is superpower
9:45 PM
If it works
Avatar
well, try it
Avatar
Yes
9:46 PM
👍 1
9:49 PM
Connection timed out
9:50 PM
Port 22
Avatar
ifconfig please
Avatar
run ifconfig on your pc
Avatar
It's not a valid command
Avatar
win?
Avatar
Do you mean ipconfig?
Avatar
what do you use for ssh
Avatar
Powershell
Avatar
what is the ip of your kobo
Avatar
are you trying to access it via usb or ssh
9:54 PM
or wifi i mean
Avatar
ssh
9:55 PM
Avatar
try ping 192.168.2.103
Avatar
I already tried it
9:56 PM
9:56 PM
it basically says request expired
9:57 PM
4 sent 4 lost
Avatar
can you install iterm user app
Avatar
Avatar
tux-linux
can you install iterm user app
9:58 PM
Already here
Avatar
ifconfig
Avatar
ifconfig | less
10:01 PM
Avatar
try ssh root@127.0.0.1 password root
10:01 PM
then do ifconfig usb0 down
10:01 PM
then try sshing from your pc to the kobo
10:02 PM
What I'm supposed to do here
Avatar
Avatar
tux-linux
then do ifconfig usb0 down
idk what is going on, i dont have time now but this wont help
Avatar
its on the same subnet
10:03 PM
.2.x
10:03 PM
so obviously can cause problems
Avatar
Avatar
tux-linux
then try sshing from your pc to the kobo
10:06 PM
Avatar
ok but now you get to something
Avatar
what do you mean
Avatar
busybox telnetd -F -l /bin/sh (edited)
10:07 PM
launch this from iterm
10:07 PM
see if you can telnet 192.168.2.103
Avatar
Still in kobo:~# ?
10:11 PM
this is telnet
Avatar
yea but thats only telnet
10:11 PM
half bad
Avatar
And why ssh doesn't want to work
10:12 PM
maybe try restart sshd
Avatar
Where
Avatar
in the prompt
10:13 PM
kobo prompt
Avatar
Ok it has done
Avatar
try sshing again
Avatar
and local ssh from kobo works?
10:15 PM
at least you have telnet for now
Avatar
to run telnet headless omit -F option
10:15 PM
so you can quit iterm
10:15 PM
it should work
10:16 PM
Wait
Avatar
Avatar
tux-linux
busybox telnetd -F -l /bin/sh (edited)
.
Avatar
What is this
Avatar
because you have a local ssh session from iterm
10:16 PM
it wont suspend the device
Avatar
it knows youre doing something
Avatar
Now what should I do
Avatar
btw, fun thing: notify-send "hello there"
Avatar
Avatar
Leo Chrom
Now what should I do
maybe try sshing via usbnet
10:18 PM
you need to set usb interfaces' ip address to 192.168.2.1 (edited)
10:19 PM
but since you have a bad wifi router that is on the same subnet, you should echo 192.168.3.2 > /boot/flags/USBNET_IP before, then restart usbnet
10:19 PM
then set kobo interface ip address to 192.168.3.1
Avatar
Avatar
tux-linux
but since you have a bad wifi router that is on the same subnet, you should echo 192.168.3.2 > /boot/flags/USBNET_IP before, then restart usbnet
Bad?
Avatar
kobo's ip will be 192.168.3.2
10:19 PM
youwill be 192.168.3.1
Avatar
Avatar
Leo Chrom
Bad?
im just saying routers like that annoy me
10:20 PM
nothing against your router
10:20 PM
because they use a random subnet
10:20 PM
why not just .0 or .1
10:21 PM
Avatar
try busybox telnetd -l /bin/sh so that you can exit iterm
10:21 PM
and also ctrl-c to terminate current command
Avatar
I'll try to change the router
Avatar
well if telnet works, the router,s not the problem
Avatar
Avatar
tux-linux
but since you have a bad wifi router that is on the same subnet, you should echo 192.168.3.2 > /boot/flags/USBNET_IP before, then restart usbnet
thats probably better
Avatar
just use a hotspot ;/
Avatar
Avatar
Szybet
just use a hotspot ;/
I'll try both
Avatar
Do you think that sshing from Linux would change something?
7:16 AM
Because windows is shit
Avatar
Hi! I've got a Kobo Touch N905B. Can I assume that the internal uSD card has both the OS as well as well as the books that were loaded onto the device? And also, how big an uSD card will work? Could I put a 64G card in there?
10:55 PM
Szybet: did you merge this page into the wiki? couldn't see it
Avatar
Avatar
sunsmoke
Hi! I've got a Kobo Touch N905B. Can I assume that the internal uSD card has both the OS as well as well as the books that were loaded onto the device? And also, how big an uSD card will work? Could I put a 64G card in there?
matterbridge BOT 3/21/2024 10:55 PM
[matrix] tux-linux also hi, welcome
Avatar
[matrix] tux-linux BOT 3/21/2024 10:56 PM
if you flash inkbox image to 64g card, it will only show 512m of storage; you need to resize it
Avatar
Avatar
[matrix] tux-linux
Szybet: did you merge this page into the wiki? couldn't see it
nope
11:01 PM
i mean, yes
11:02 PM
its even updated with a better method
11:02 PM
An open-source, Qt-based eBook reader for Kobos (and other devices). - Kobo-InkBox/inkbox
Avatar
Thanks!
Avatar
Possible approaches to a stylized Q logo in the Quill OS name:
9:15 PM
Avatar
gpt4
9:15 PM
right?
Avatar
I'm yup
9:16 PM
Guilty as charged... But it's actually MidJourney
Avatar
ok, wasnt that far
9:16 PM
would need to be vector graphics though
Avatar
I like that logo idea
Avatar
yea, its great
9:21 PM
would need 2 logos: one for device startup, probably just Q, and other one for branding et al.
Avatar
send it to #future and ping zoli, something like that will be fine
Avatar
If be happy to vectorize this for y'all - but I've got VERY little experience with vector based graphics, which is kinda weird because I LOVE messing around with digital imagery and raster based format
Avatar
It's fine
9:48 PM
If you want to play around with it I recommend Inkscape
Avatar
I would like something like that but in zoli style
Avatar
No, serif is fine
Avatar
Avatar
Szybet
I would like something like that but in zoli style
With a name like Zoli, it's GOTTA have some style!
❤️ 1
Avatar
My name is not really creative
9:56 PM
It's my irl nick too
9:57 PM
Zoltán is pretty common first name in hungary
Avatar
Avatar
Zoli
Zoltán is pretty common first name in hungary
That's an awesome "common" name though! In my area it's a bucha John and Jane people 😂
Avatar
Yeah, here we have a billion Lachlans (edited)
Avatar
Where you from
Avatar
Australia
Avatar
Cool
Avatar
How about you if you don't mind me asking?
Avatar
Canada
10:39 PM
Country of Kobos
10:39 PM
Very rare species elsewhere in the world
Avatar
Cool, I'm actually on holiday in Canada rn
Avatar
I live in Quebec province
Avatar
I'm in Ontario at the moment
Avatar
Cool
Avatar
Quebec is the more French speaking part right?
Avatar
I stiil have problems when sshing my kobo nia (edited)
5:07 PM
Imma try with my hotspot
Avatar
does it hurt an e-ink display to play an animation at high speed that doesn't overwrite pixels from previous frames? like it will never turn off a pixel during an animation, only turn them on
Avatar
lets put it like that
11:52 PM
everything i have done with eink ( developing inkbox, running the high speed screen mirror, sanki, other things ) have done nothing to my nia
11:53 PM
einks are really robust
11:53 PM
at least the one on my nia
Avatar
Avatar
ewired
does it hurt an e-ink display to play an animation at high speed that doesn't overwrite pixels from previous frames? like it will never turn off a pixel during an animation, only turn them on
This reads like word salad
11:53 PM
there is no concept of turning pixels on or off for an eink display
Avatar
since it's a monochrome display, I mean black is on and white is off
Avatar
that's not how it works
Avatar
it's a metaphor then I guess lol
11:56 PM
I mean an animation that will never change the state of the same pixel twice
11:56 PM
since a you can run a high speed screen mirror, which changes the state of the same pixels very frequently, it's probably OK, probably does wear down the screen a bit more
Avatar
I mean you can avoid ghosting that way
11:56 PM
but the only usecase for that is a progress bar lol
11:57 PM
maybe you mean avoiding reaffirming the state or something
Avatar
in android apps, with material design, there are buttons and other elements that have a growing circle animation when you tap/click them
Avatar
like driving an already black pixel to black again
Avatar
yeah, I also would want to avoid that if it does damage to the screen
Avatar
but that's handled by the display chip you dont get to see that unless you are making a custom waveform
Avatar
that's good, I figured that would be handled by a buffer on the hardware level
11:59 PM
I just had a passing thought about whether those material design animations would work on a kobo without wearing down the display more than a static solid button would
Avatar
you dont really wear down the display in any meaningful sense
12:01 AM
You can maybe reduce ghosting and screen damage issues if your waveform is bad by making sure you display an equal amount of black/white on average
12:01 AM
You're confusing eink screens with oleds
Avatar
this is an example of the animation I'm talking about btw
12:03 AM
ok that's good to know, I thought changing the state of a pixel repeatedly would cause damage to an e-ink screen
Avatar
if you do this as a partial refresh and you do a fast refresh rather an full fresh for those pixels to play the animation faster you're going to get ghosting but ghosting isnt screen damage
12:05 AM
ghosting is just the actual position of the coloured particles and the intended position being desynced
12:05 AM
Basically you have a slightly wrong shade of gray, you get rid of it by doing a full black/white cycle
Avatar
Avatar
ewired
this is an example of the animation I'm talking about btw
here is the real problem: such animation will be ugly on eink
Avatar
actual screen damage is when you drive the particles to black for too long or with too high voltage for example, then you get clumping issues and things like that
12:07 AM
they normally repel each other but if you overcome the repulsion they can stick together and become harder to move
12:07 AM
that's actual screen damage
12:07 AM
but like I said that only happens if your waveform is bad
Avatar
So then it should never happen
Avatar
if you dont write waveforms for your display and you assume the people who made the display arent idiots you dont worry about it
Avatar
they pay far too much money for e-ink display drivers to be that bad... hopefully
Avatar
There are people who hack together eink drivers for displays that arent supposed to support greyscale
12:09 AM
like those pricetag eink displays
Avatar
How to choose e-book reader. Advice for choosing device. Processes occurring with e-ink displays after long and intensive using. Degradation of screens.
12:10 AM
This is probably way too old to hold true today
Avatar
if you want your code to run on those then maybe you can think about it, as those drivers are basically doing things not tested by the manfacturer
Avatar
all I know is the software end where sending a bitmap to the display is abstracted away from me, and bits in the bitmap correspond to pixels being black or white, just want to make sure I'm not destroying my kobo by sending a bunch of screen updates to mimic material design animations
Avatar
But it is going to look bad though
Avatar
any black/white eink display with programmable waveforms can do greyscale if you write a custom driver for it, but then the driver has to handle making sure it doesnt damage anything (edited)
Avatar
Kuratius has been awarded the "eink display wizard" title
12:12 AM
Thanks for your insight
Avatar
I've been doing greyscale by dithering so far
Avatar
that's not what I'm talking about
Avatar
I investigated whether plato actually sent greyscale colors to the hardware but afaik it just does dithering and monochrome
Avatar
that's weird
12:13 AM
kobos can do real greyscale without weird workarounds (edited)
Avatar
I need to look into it more, all my evidence comes from the 'sketch' applet in plato that saves images in PNG greyscale, but the pixels are apparently only fully black or white, and it uses a dithering pattern for different shades of grey
Avatar
that's probably because sketch needs to refresh fast
Avatar
ahhh ok that makes sense, maybe if I loaded a greyscale PNG image in sketch it would work fine
Avatar
black/white refreshes typically happen faster than greyscale stuff
Avatar
this whole time I thought e-ink displays were just monochrome, hence why I said "pixels on/off" earlier lol
Avatar
I think it's because the greyscale stuff is done using testing and calibration, you need to control the particle position very precisely , with a black/white pixel you just go full throttle
12:19 AM
I'm pretty sure you could do greyscale refreshes at the same speed as a white/black refresh with the right waveform, but you'd have severe ghosting after a few refreshes, which is not something you have to worry about with black/white (edited)
Avatar
I will leave that one for the experts for now, thanks for the info
Avatar
eink displays are particle accelerators 😛
Avatar
Avatar
Kuratius
that's probably because sketch needs to refresh fast
exactly.
Avatar
Avatar
ewired
I need to look into it more, all my evidence comes from the 'sketch' applet in plato that saves images in PNG greyscale, but the pixels are apparently only fully black or white, and it uses a dithering pattern for different shades of grey
yes because it uses A2 waveform mode
12:44 AM
@Kuratius you should really write a pdf / github repo of einks displays explained to dummy developers and people :(
Exported 6,660 message(s)
Timezone: UTC+1